|
|
void | Reset () |
| | Restart playback and clear parameters, retaining the selected graph.
|
| void | SetGraph (const xiiAnimGraphResourceHandle &hGraph) |
|
const xiiAnimGraphResourceHandle & | GetGraph () const |
|
void | SetFloat (xiiStringView sName, float fValue) |
|
float | GetFloat (const xiiTempHashedString &sName, float fFallback=0.0f) const |
|
void | SetBool (xiiStringView sName, bool bValue) |
|
bool | GetBool (const xiiTempHashedString &sName, bool bFallback=false) const |
|
void | Update (const xiiSkeletonResource &skeleton, xiiTime deltaTime, xiiAnimationPose &ref_pose) |
| | Instances own mutable playback state and require external synchronization.
|
◆ SetGraph()
| void xiiAnimGraphInstance::SetGraph |
( |
const xiiAnimGraphResourceHandle & | hGraph | ) |
|
Changing the graph restarts playback while retaining instance parameters. Resource reloads restart playback on the next Update, even if node indices remain in range. Reassigning the same handle does not restart playback.
The documentation for this class was generated from the following files:
- /home/runner/work/XII/XII/Source/Engine/GraphicsCore/AnimationSystem/AnimGraph/AnimGraphResource.h
- /home/runner/work/XII/XII/Source/Engine/GraphicsCore/AnimationSystem/AnimGraph/Implementation/AnimGraphInstance.cpp