Contents

init(graph:)

Creates a component that drives skeletal animation on an entity using the supplied compiled animation graph.

Declaration

init(graph: AnimationGraphResource)

Parameters

Discussion

Per-instance evaluation state initializes when the entity becomes active in a scene, so accessors such as activeNodes return an empty array until the first evaluation tick has run.