ImageTexture(Texture)

base classes — bpy_struct, ID, Texture

class bpy.types.ImageTexture(Texture)
checker_distance

Sets distance between checker tiles

Type :float in [0, 0.99], default 0.0
crop_max_x

Sets maximum X value to crop the image

Type :float in [-10, 10], default 0.0
crop_max_y

Sets maximum Y value to crop the image

Type :float in [-10, 10], default 0.0
crop_min_x

Sets minimum X value to crop the image

Type :float in [-10, 10], default 0.0
crop_min_y

Sets minimum Y value to crop the image

Type :float in [-10, 10], default 0.0
extension

Sets 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 sets exterior pixels as transparent.
  • CLIP_CUBE Clip Cube, Clip to cubic-shaped area around the image and sets 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 ‘EXTEND’
filter_eccentricity

Maximum eccentricity. Higher gives less blur at distant/oblique angles, but is also slower

Type :int in [1, 256], default 0
filter_probes

Maximum number of samples. Higher gives less blur at distant/oblique angles, but is also slower

Type :int in [1, 256], default 0
filter_size

Multiplies the filter size used by MIP Map and Interpolation

Type :float in [0.1, 50], default 0.0
filter_type

Texture filter to use for sampling image

Type :enum in [‘BOX’, ‘EWA’, ‘FELINE’, ‘AREA’], default ‘BOX’
image
Type :Image
image_user

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

Type :ImageUser, (readonly)
invert_alpha

Inverts all the alpha values in the image

Type :boolean, default False
repeat_x

Sets a repetition multiplier in the X direction

Type :int in [1, 512], default 0
repeat_y

Sets a repetition multiplier in the Y direction

Type :int in [1, 512], default 0
use_alpha

Uses the alpha channel information in the image

Type :boolean, default False
use_calculate_alpha

Calculates an alpha channel based on RGB values in the image

Type :boolean, default False
use_checker_even

Sets even checker tiles

Type :boolean, default False
use_checker_odd

Sets odd checker tiles

Type :boolean, default False
use_derivative_map

Uses red and green as derivative values

Type :boolean, default False
use_filter_size_min

Use Filter Size as a minimal filter value in pixels

Type :boolean, default False
use_flip_axis

Flips the texture’s X and Y axis

Type :boolean, default False
use_interpolation

Interpolates pixels using selected filter

Type :boolean, default False
use_mipmap

Uses auto-generated MIP maps for the image

Type :boolean, default False
use_mipmap_gauss

Uses Gauss filter to sample down MIP maps

Type :boolean, default False
use_mirror_x

Mirrors the image repetition on the X direction

Type :boolean, default False
use_mirror_y

Mirrors the image repetition on the Y direction

Type :boolean, default False
use_normal_map

Uses 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)

Inherited Properties

Inherited Functions

Previous topic

ImageSequence(Sequence)

Next topic

ImageUser(bpy_struct)