LightComponent
LightComponent
Native light component
Provides access to a native light component instance
Kind: global class
.color ⇒ Float32Array
Kind: instance property of LightComponent
Returns: Float32Array - View on the light color
.lightType ⇒ LightType
Kind: instance property of LightComponent
Returns: LightType - Light type
.lightType
Set light type
Kind: instance property of LightComponent
Param | Type | Description |
---|---|---|
lightType | LightType | Type of the light component. |