base classes — bpy_struct, ID
subclasses — SpotLamp, PointLamp, SunLamp, HemiLamp, AreaLamp
Lamp datablock for lighting a scene
Index of active texture slot
Type : | int in [0, 17], default 0 |
---|
Light color
Type : | float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) |
---|
Falloff distance - the light is at half the original intensity at this point
Type : | float in [0, inf], default 0.0 |
---|
Amount of light that the lamp emits
Type : | float in [-inf, inf], default 0.0 |
---|
Texture slots defining the mapping and influence of textures
Type : | LampTextureSlots bpy_prop_collection of LampTextureSlot, (readonly) |
---|
Type of Lamp
Type : | enum in [‘POINT’, ‘SUN’, ‘SPOT’, ‘HEMI’, ‘AREA’], default ‘POINT’ |
---|
Do diffuse shading
Type : | boolean, default False |
---|
Cast negative light
Type : | boolean, default False |
---|
Use shader nodes to render the lamp
Type : | boolean, default False |
---|
Illuminate objects only on the same layers the lamp is on
Type : | boolean, default False |
---|
Create specular highlights
Type : | boolean, default False |
---|
Inherited Properties
Inherited Functions
|
References