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

Class TextureSlot


The Texture Slot Object

Texture slot defining the mapping and influence of a texture.

References

Instance Variables [hide private]
enum blend_type
Blend Type in...
float array of 3 items in [-inf, inf] color
The default color for textures that don't return RGB.
float in [-inf, inf] default_value
Value to use for Ref, Spec, Amb, Emit, Alpha, RayMir, TransLu and Hard.
string (readonly) name
Texture slot name.
boolean negate
Inverts the values of the texture to reverse its effect.
float array of 3 items in [-inf, inf] offset
Fine tunes texture mapping X, Y and Z locations.
enum output_node
Which output node to use, for node-based textures.
boolean rgb_to_intensity
Converts texture RGB values to intensity (gray) values.
float array of 3 items in [-inf, inf] size
Sets scaling for the texture's X, Y and Z sizes.
boolean stencil
Use this texture as a blending value on the next texture.
Texture texture
Texture datablock used by this texture slot.
Instance Variable Details [hide private]

blend_type

Blend Type in...
  • MIX
  • ADD
  • SUBTRACT
  • MULTIPLY
  • SCREEN
  • OVERLAY
  • DIFFERENCE
  • DIVIDE
  • DARKEN
  • LIGHTEN
  • HUE
  • SATURATION
  • VALUE
  • COLOR
  • SOFT LIGHT
  • LINEAR LIGHT
Type:
enum

name

Texture slot name. (maximum length of 0)
Type:
string (readonly)

output_node

Which output node to use, for node-based textures. in...
  • DUMMY
Type:
enum