Package bpy :: Module types :: Class ImageTexture
[hide private]
[frames] | no frames]

Class ImageTexture


The Image Texture Object

(no references to this struct found)

Instance Methods [hide private]
 
animation_data_clear()
Clear animation on this this ID. (Inherited from bpy.types.ID)
AnimData
animation_data_create()
Create animation data to this ID, note that not all ID types support this. (Inherited from bpy.types.ID)
ID
copy()
Create a copy of this datablock (not supported for all datablocks). (Inherited from bpy.types.ID)
Instance Variables [hide private]
AnimData (readonly) animation_data
Animation data for this datablock. (Inherited from bpy.types.Texture)
float in [0, 2] brightness
Brightness (Inherited from bpy.types.Texture)
boolean calculate_alpha
Calculates an alpha channel based on RGB values in the image
float in [0, 0.99] checker_distance
Sets distance between checker tiles
boolean checker_even
Sets even checker tiles
boolean checker_odd
Sets odd checker tiles
ColorRamp (readonly) color_ramp
Color Ramp (Inherited from bpy.types.Texture)
float in [0.01, 5] contrast
Contrast (Inherited from bpy.types.Texture)
float in [-10, 10] crop_max_x
Sets maximum X value to crop the image
float in [-10, 10] crop_max_y
Sets maximum Y value to crop the image
float in [-10, 10] crop_min_x
Sets minimum X value to crop the image
float in [-10, 10] crop_min_y
Sets minimum Y value to crop the image
enum extension
Sets how the image is extrapolated past its original bounds in...
float in [0, 2] factor_blue
Factor Blue (Inherited from bpy.types.Texture)
float in [0, 2] factor_green
Factor Green (Inherited from bpy.types.Texture)
float in [0, 2] factor_red
Factor Red (Inherited from bpy.types.Texture)
boolean fake_user
Saves this datablock even if it has no users (Inherited from bpy.types.ID)
enum filter
Texture filter to use for sampling image.
int in [1, 256] filter_eccentricity
Maximum eccentricity.
int in [1, 256] filter_probes
Maximum number of samples.
float in [0.1, 50] filter_size
Multiplies the filter size used by MIP Map and Interpolation
boolean filter_size_minimum
Use Filter Size as a minimal filter value in pixels
boolean flip_axis
Flips the texture's X and Y axis
Image image
Image
ImageUser (readonly) image_user
Parameters defining which layer, pass and frame of the image is displayed.
boolean interpolation
Interpolates pixels using Area filter
boolean invert_alpha
Inverts all the alpha values in the image
Library (readonly) library
Library file the datablock is linked from. (Inherited from bpy.types.ID)
boolean mipmap
Uses auto-generated MIP maps for the image
boolean mipmap_gauss
Uses Gauss filter to sample down MIP maps
boolean mirror_x
Mirrors the image repetition on the X direction
boolean mirror_y
Mirrors the image repetition on the Y direction
string name
Unique datablock ID name. (Inherited from bpy.types.ID)
NodeTree (readonly) node_tree
Node tree for node-based textures (Inherited from bpy.types.Texture)
boolean normal_map
Uses image RGB values for normal mapping
enum normal_space
Sets space of normal map image.
int in [1, 512] repeat_x
Sets a repetition multiplier in the X direction
int in [1, 512] repeat_y
Sets a repetition multiplier in the Y direction
boolean tag
Tools can use this to tag data, (initial state is undefined). (Inherited from bpy.types.ID)
enum type
Type in... (Inherited from bpy.types.Texture)
boolean use_alpha
Uses the alpha channel information in the image
boolean use_color_ramp
Toggle color ramp operations. (Inherited from bpy.types.Texture)
boolean use_nodes
Make this a node-based texture (Inherited from bpy.types.Texture)
int (readonly) in [0, 32767] users
Number of times this datablock is referenced. (Inherited from bpy.types.ID)
Instance Variable Details [hide private]

extension

Sets how the image is extrapolated past its original bounds in...
  • EXTEND
  • CLIP
  • CLIP_CUBE
  • REPEAT
  • CHECKER
Type:
enum

filter

Texture filter to use for sampling image. in...
  • BOX
  • EWA
  • FELINE
  • AREA
  • SAT
Type:
enum

filter_eccentricity

Maximum eccentricity. Higher gives less blur at distant/oblique angles, but is also slower.
Type:
int in [1, 256]

filter_probes

Maximum number of samples. Higher gives less blur at distant/oblique angles, but is also slower.
Type:
int in [1, 256]

normal_space

Sets space of normal map image. in...
  • CAMERA
  • WORLD
  • OBJECT
  • TANGENT
Type:
enum