Interface: LightComponent
Light component data.
Extends
Properties
componentType
componentType: ComponentType;
Component type.
Inherited from
enabled
enabled: boolean;
Whether the component is enabled.
Inherited from
lightType
lightType: LightType;
Light type.
color
color: vec3;
Light color.
intensity
intensity: number;
Light intensity.
range
range: number;
Light range.
spotAngle
spotAngle: number;
Spot lights angle in degree. Only valid for spot lights.
shadows
shadows: LightShadowMode;
Shadow mode.
cullingMask
cullingMask: number;
Light culling mask.