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

Class SpotLamp


The Spot Lamp Object

Directional cone 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)
boolean auto_clip_end
Automatic calculation of clipping-end, based on visible vertices.
boolean auto_clip_start
Automatic calculation of clipping-start, based on visible vertices.
float array of 3 items in [-inf, inf] color
Light color. (Inherited from bpy.types.Lamp)
float in [0, 1] compression_threshold
Deep shadow map compression threshold.
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 halo
Renders spotlight with a volumetric halo (Buffer Shadows).
float in [-inf, inf] halo_intensity
Brightness of the spotlight's halo cone (Buffer Shadows).
int in [0, 12] halo_step
Volumetric halo sampling frequency.
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 in [0, 5] shadow_buffer_bias
Shadow buffer sampling bias.
float in [0, 9999] shadow_buffer_clip_end
Shadow map clip end beyond which objects will not generate shadows.
float in [0, 9999] shadow_buffer_clip_start
Shadow map clip start: objects closer will not generate shadows
int in [1, 16] shadow_buffer_samples
Number of shadow buffer samples.
int in [512, 10240] shadow_buffer_size
Resolution of the shadow buffer, higher values give crisper shadows but use more memory
float in [0, 100] shadow_buffer_soft
Size of shadow buffer sampling area.
enum shadow_buffer_type
Type of shadow buffer.
float array of 3 items in [-inf, inf] shadow_color
Color of shadows cast by the lamp.
enum shadow_filter_type
Type of shadow filter (Buffer Shadows).
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.
enum shadow_sample_buffers
Number of shadow buffers to render for better AA, this increases memory usage.
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.
float in [0, 1] spot_blend
The softness of the spotlight edge.
float in [1, 180] spot_size
Angle of the spotlight beam in degrees.
boolean square
Casts a square spot light shape.
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_buffer_type

Type of shadow buffer. in...
  • REGULAR
  • HALFWAY
  • IRREGULAR
  • DEEP
Type:
enum

shadow_filter_type

Type of shadow filter (Buffer Shadows). in...
  • BOX
  • TENT
  • GAUSS
Type:
enum

shadow_method

Method to compute lamp shadow with. in...
  • NOSHADOW
  • BUFFER_SHADOW
  • 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

shadow_sample_buffers

Number of shadow buffers to render for better AA, this increases memory usage. in...
  • BUFFERS_1
  • BUFFERS_4
  • BUFFERS_9
Type:
enum