A node that emits directional light, like a sun.
Inheritance:
Get the direction the light is emitting from. Direction is derived from the node's rotation.
Sig: direction = DirectionalLight3D:GetDirection()
- Ret:
Vector direction
Light direction
Set the light direction. This will adjust the node's rotation (see Node3D).
Sig: DirectionalLight3D:SetDirection(direction)
- Arg:
Vector direction
Light direction