Option to cast shadows.
The color of the light.
The direction of the light.
ReadonlyidThe id of the light.
The intensity of the light.
The bias of the shadow map.
The resolution of the shadow map.
ReadonlytypeThe type of the light.
OptionalnameThe name of the light. Used by the platform.
OptionalorderThe order of the light. Used by the platform.
The api for a directional light. A directional light can be created by calling the addDirectionalLight method.