direction property

Vector3 direction
getter/setter pair

The direction the light travels, in world space (from the light toward the scene). Need not be unit length.

This aims the scene-level Scene.directionalLight convenience. The default DirectionalLightComponent ignores it and uses its node's local +Z axis. Use DirectionalLightComponent.aimed for another local axis.

Implementation

Vector3 direction;