Contents

activeNodes

Every node that contributed to the most recent graph evaluation tick.

Declaration

var activeNodes: [any AnimationGraphComponent.ActiveNode] { get }

Discussion

The returned array is a snapshot — its element type is any AnimationGraphComponent.ActiveNode, so each entry exposes only the fields common to all node kinds. To inspect node-kind- specific state, downcast each element to AnimationGraphComponent.ActiveStateMachineNode or AnimationGraphComponent.ActiveClipNode, or iterate activeStateMachineNodes or activeClipNodes for the same view filtered to a single kind.

See Also

Accessing active nodes