ImageTexture(Texture)#

base classes — bpy_struct, ID, Texture

class bpy.types.ImageTexture(Texture)#
checker_distance#

Distance between checker tiles

Type:

float in [0, 0.99], default 0.0

crop_max_x#

Maximum X value to crop the image

Type:

float in [-10, 10], default 1.0

crop_max_y#

Maximum Y value to crop the image

Type:

float in [-10, 10], default 1.0

crop_min_x#

Minimum X value to crop the image

Type:

float in [-10, 10], default 0.0

crop_min_y#

Minimum Y value to crop the image

Type:

float in [-10, 10], default 0.0

extension#

How the image is extrapolated past its original bounds

  • EXTEND Extend – Extend by repeating edge pixels of the image.

  • CLIP Clip – Clip to image size and set exterior pixels as transparent.

  • CLIP_CUBE Clip Cube – Clip to cubic-shaped area around the image and set exterior pixels as transparent.

  • REPEAT Repeat – Cause the image to repeat horizontally and vertically.

  • CHECKER Checker – Cause the image to repeat in checker board pattern.

Type:

enum in [‘EXTEND’, ‘CLIP’, ‘CLIP_CUBE’, ‘REPEAT’, ‘CHECKER’], default ‘REPEAT’

filter_eccentricity#

Maximum eccentricity (higher gives less blur at distant/oblique angles, but is also slower)

Type:

int in [1, 256], default 8

filter_lightprobes#

Maximum number of samples (higher gives less blur at distant/oblique angles, but is also slower)

Type:

int in [1, 256], default 8

filter_size#

Multiply the filter size used by MIP Map and Interpolation

Type:

float in [0.1, 50], default 1.0

filter_type#

Texture filter to use for sampling image

Type:

enum in [‘BOX’, ‘EWA’, ‘FELINE’, ‘AREA’], default ‘EWA’

image#
Type:

Image

image_user#

Parameters defining which layer, pass and frame of the image is displayed

Type:

ImageUser, (readonly)

invert_alpha#

Invert all the alpha values in the image

Type:

boolean, default False

repeat_x#

Repetition multiplier in the X direction

Type:

int in [1, 512], default 1

repeat_y#

Repetition multiplier in the Y direction

Type:

int in [1, 512], default 1

use_alpha#

Use the alpha channel information in the image

Type:

boolean, default True

use_calculate_alpha#

Calculate an alpha channel based on RGB values in the image

Type:

boolean, default False

use_checker_even#

Even checker tiles

Type:

boolean, default False

use_checker_odd#

Odd checker tiles

Type:

boolean, default True

use_filter_size_min#

Use Filter Size as a minimal filter value in pixels

Type:

boolean, default False

use_flip_axis#

Flip the texture’s X and Y axis

Type:

boolean, default False

use_interpolation#

Interpolate pixels using selected filter

Type:

boolean, default True

use_mipmap#

Use auto-generated MIP maps for the image

Type:

boolean, default True

use_mipmap_gauss#

Use Gauss filter to sample down MIP maps

Type:

boolean, default False

use_mirror_x#

Mirror the image repetition on the X direction

Type:

boolean, default False

use_mirror_y#

Mirror the image repetition on the Y direction

Type:

boolean, default False

use_normal_map#

Use image RGB values for normal mapping

Type:

boolean, default False

users_material#

Materials that use this texture

(readonly)

users_object_modifier#

Object modifiers that use this texture

(readonly)

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions