AreaLamp(Lamp)

base classes — bpy_struct, ID, Lamp

class bpy.types.AreaLamp(Lamp)

Directional area lamp

gamma

Light gamma correction value

Type :float in [-inf, inf], 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’, ‘CONSTANT_JITTERED’], default ‘CONSTANT_JITTERED’
shadow_ray_samples_x

Number of samples taken extra (samples x samples)

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

Number 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
shape

Shape of the area lamp

Type :enum in [‘SQUARE’, ‘RECTANGLE’], default ‘SQUARE’
size

Size of the area of the area Lamp, X direction size for Rectangle shapes

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

Size of the area of the area Lamp in the Y direction for Rectangle shapes

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

Use 2x2 dithering for sampling (Constant Jittered sampling)

Type :boolean, default False
use_jitter

Use noise for sampling (Constant Jittered sampling)

Type :boolean, default False
use_only_shadow

Cast shadows only, without illuminating objects

Type :boolean, default False
use_shadow_layer

Objects on the same layers only cast shadows

Type :boolean, default False
use_umbra

Emphasize parts that are fully shadowed (Constant Jittered sampling)

Type :boolean, default False

Inherited Properties

Inherited Functions

Previous topic

Area(bpy_struct)

Next topic

AreaSpaces(bpy_struct)