TextureSlot(bpy_struct)

base class — bpy_struct

subclasses — BrushTextureSlot, LampTextureSlot, LineStyleTextureSlot, MaterialTextureSlot, ParticleSettingsTextureSlot, WorldTextureSlot

class bpy.types.TextureSlot(bpy_struct)

Texture slot defining the mapping and influence of a texture

blend_type

Mode used to apply the texture

Type:enum in [‘MIX’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘SCREEN’, ‘OVERLAY’, ‘DIFFERENCE’, ‘DIVIDE’, ‘DARKEN’, ‘LIGHTEN’, ‘HUE’, ‘SATURATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
color

Default color for textures that don’t return RGB or when RGB to intensity is enabled

Type:float array of 3 items in [0, inf], default (0.0, 0.0, 0.0)
default_value

Value to use for Ref, Spec, Amb, Emit, Alpha, RayMir, TransLu and Hard

Type:float in [-inf, inf], default 0.0
invert

Invert the values of the texture to reverse its effect

Type:boolean, default False
name

Texture slot name

Type:string, default “”, (readonly, never None)
offset

Fine tune of the texture mapping X, Y and Z locations

Type:float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
output_node

Which output node to use, for node-based textures

Type:enum in [‘DUMMY’], default ‘DUMMY’
scale

Set scaling for the texture’s X, Y and Z sizes

Type:float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
texture

Texture data-block used by this texture slot

Type:Texture
use_rgb_to_intensity

Convert texture RGB values to intensity (gray) values

Type:boolean, default False
use_stencil

Use this texture as a blending value on the next texture

Type:boolean, default False

Inherited Properties

Inherited Functions

References