DirectionalLight
-
class
DirectionalLight() Contains properties of a directional light. More information can be found here. See [[LightType.Directional]] for information on how the position is interpreted for directional lights.
Constructors
-
DirectionalLight.constructor() - DirectionalLight(type:
LightType, space:LightSpace, position:Point3, color:Color):DirectionalLightParameters
Returns:
DirectionalLight
Properties
-
DirectionalLight.position inherited
position:Point3The light’s position in the scene. See [[LightType.Directional]] for information on how the position is interpreted for directional lights.
-
DirectionalLight.space inherited
space:LightSpaceThe space in which the light’s position is defined.