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

Class Lamp


The Lamp Object

Lamp datablock for lighting a scene.

References

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]
Texture active_texture
Active texture slot being displayed.
int in [0, 17] active_texture_index
Index of active texture slot.
AnimData (readonly) animation_data
Animation data for this datablock.
float array of 3 items in [-inf, inf] color
Light color.
boolean diffuse
Lamp does diffuse shading.
float in [-inf, inf] distance
Falloff distance - the light is at half the original intensity at this point.
float in [-inf, inf] energy
Amount of light that the lamp emits.
boolean fake_user
Saves this datablock even if it has no users (Inherited from bpy.types.ID)
boolean layer
Illuminates objects only on the same layer the lamp is on.
Library (readonly) library
Library file the datablock is linked from. (Inherited from bpy.types.ID)
string name
Unique datablock ID name. (Inherited from bpy.types.ID)
boolean negative
Lamp casts negative light.
boolean specular
Lamp creates specular highlights.
boolean tag
Tools can use this to tag data, (initial state is undefined). (Inherited from bpy.types.ID)
Collection of LampTextureSlot (readonly) textures
Texture slots defining the mapping and influence of textures.
enum type
Type of Lamp.
int (readonly) in [0, 32767] users
Number of times this datablock is referenced. (Inherited from bpy.types.ID)
Instance Variable Details [hide private]

type

Type of Lamp. in...
  • POINT
  • SUN
  • SPOT
  • HEMI
  • AREA
Type:
enum