PointLamp(Lamp)

base classes — bpy_struct, ID, Lamp

class bpy.types.PointLamp(Lamp)

Omnidirectional point lamp

falloff_curve

Custom Lamp Falloff Curve

Type :CurveMapping, (readonly)
falloff_type

Intensity Decay with distance

Type :enum in [‘CONSTANT’, ‘INVERSE_LINEAR’, ‘INVERSE_SQUARE’, ‘CUSTOM_CURVE’, ‘LINEAR_QUADRATIC_WEIGHTED’], default ‘CONSTANT’
linear_attenuation

Linear distance attenuation

Type :float in [0, 1], default 0.0
quadratic_attenuation

Quadratic distance attenuation

Type :float in [0, 1], default 0.0
shadow_adaptive_threshold

Threshold for Adaptive Sampling (Raytraced shadows)

Type :float in [0, 1], default 0.0
shadow_color

Color of shadows cast by the lamp

Type :float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
shadow_method

Method to compute lamp shadow with

  • NOSHADOW No Shadow.
  • RAY_SHADOW Ray Shadow, Use ray tracing for shadow.
Type :enum in [‘NOSHADOW’, ‘RAY_SHADOW’], default ‘NOSHADOW’
shadow_ray_sample_method

Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower

Type :enum in [‘ADAPTIVE_QMC’, ‘CONSTANT_QMC’], default ‘ADAPTIVE_QMC’
shadow_ray_samples

Amount of samples taken extra (samples x samples)

Type :int in [1, 64], default 0
shadow_soft_size

Light size for ray shadow sampling (Raytraced shadows)

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

Causes light to cast shadows only without illuminating objects

Type :boolean, default False
use_shadow_layer

Causes only objects on the same layer to cast shadows

Type :boolean, default False
use_sphere

Sets light intensity to zero beyond lamp distance

Type :boolean, default False

Inherited Properties

Inherited Functions

Previous topic

PointDensityTexture(Texture)

Next topic

PointerProperty(Property)