Skip to main content

Nodes > Functions > Lights > Light Direction

Light Direction

When used with a Loop (Lights) node, returns the world direction vector the current Light is facing.

Outputs

NameTypeDescription
Direction ( Light to Surface )floatDirection vector the current light is facing

Properties

NameTypeDescription
Loop IDdropdownID of the Loop (Lights) node this refers to
ModedropdownSelects whether the direction points from light to surface, or from surface to light