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

Class PointLamp


The Point Lamp Object

Omnidirectional point lamp.

(no references to this struct found)

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. (Inherited from bpy.types.Lamp)
int in [0, 17] active_texture_index
Index of active texture slot. (Inherited from bpy.types.Lamp)
AnimData (readonly) animation_data
Animation data for this datablock. (Inherited from bpy.types.Lamp)
float array of 3 items in [-inf, inf] color
Light color. (Inherited from bpy.types.Lamp)
boolean diffuse
Lamp does diffuse shading. (Inherited from bpy.types.Lamp)
float in [-inf, inf] distance
Falloff distance - the light is at half the original intensity at this point. (Inherited from bpy.types.Lamp)
float in [-inf, inf] energy
Amount of light that the lamp emits. (Inherited from bpy.types.Lamp)
boolean fake_user
Saves this datablock even if it has no users (Inherited from bpy.types.ID)
CurveMapping (readonly) falloff_curve
Custom Lamp Falloff Curve
enum falloff_type
Intensity Decay with distance.
boolean layer
Illuminates objects only on the same layer the lamp is on. (Inherited from bpy.types.Lamp)
Library (readonly) library
Library file the datablock is linked from. (Inherited from bpy.types.ID)
float in [0, 1] linear_attenuation
Linear distance attentuation.
string name
Unique datablock ID name. (Inherited from bpy.types.ID)
boolean negative
Lamp casts negative light. (Inherited from bpy.types.Lamp)
boolean only_shadow
Causes light to cast shadows only without illuminating objects.
float in [0, 1] quadratic_attenuation
Quadratic distance attentuation.
float in [0, 1] shadow_adaptive_threshold
Threshold for Adaptive Sampling (Raytraced shadows).
float array of 3 items in [-inf, inf] shadow_color
Color of shadows cast by the lamp.
boolean shadow_layer
Causes only objects on the same layer to cast shadows.
enum shadow_method
Method to compute lamp shadow with.
int in [1, 64] shadow_ray_samples
Amount of samples taken extra (samples x samples).
enum shadow_ray_sampling_method
Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower.
float in [-inf, inf] shadow_soft_size
Light size for ray shadow sampling (Raytraced shadows).
boolean specular
Lamp creates specular highlights. (Inherited from bpy.types.Lamp)
boolean sphere
Sets light intensity to zero beyond lamp distance.
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. (Inherited from bpy.types.Lamp)
enum type
Type of Lamp. (Inherited from bpy.types.Lamp)
int (readonly) in [0, 32767] users
Number of times this datablock is referenced. (Inherited from bpy.types.ID)
Instance Variable Details [hide private]

falloff_type

Intensity Decay with distance. in...
  • CONSTANT
  • INVERSE_LINEAR
  • INVERSE_SQUARE
  • CUSTOM_CURVE
  • LINEAR_QUADRATIC_WEIGHTED
Type:
enum

shadow_method

Method to compute lamp shadow with. in...
  • NOSHADOW
  • RAY_SHADOW
Type:
enum

shadow_ray_sampling_method

Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower. in...
  • ADAPTIVE_QMC
  • CONSTANT_QMC
Type:
enum