LampTextureSlot(TextureSlot)

base classes — bpy_struct, TextureSlot

class bpy.types.LampTextureSlot(TextureSlot)

Texture slot for textures in a Lamp data-block

color_factor

Amount texture affects color values

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

Amount bias on mipmapping

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

Object to use for mapping with Object texture coordinates

Type:Object
shadow_factor

Amount texture affects shadow

Type:float in [-inf, inf], default 0.0
texture_coords
  • GLOBAL Global, Use global coordinates for the texture coordinates.
  • VIEW View, Use view coordinates for the texture coordinates.
  • OBJECT Object, Use linked object’s coordinates for texture coordinates.
Type:enum in [‘GLOBAL’, ‘VIEW’, ‘OBJECT’], default ‘GLOBAL’
use_map_color

Let the texture affect the basic color of the lamp

Type:boolean, default False
use_map_shadow

Let the texture affect the shadow color of the lamp

Type:boolean, default False
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

References