Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::ObjectBinding Struct Reference

Runtime binding from a TransformTrack to a live child GameObject. More...

#include <AnimationComponent.h>

+ Collaboration diagram for mnd::ObjectBinding:

Public Attributes

GameObjectobject = nullptr
 Non-owning pointer to the target child.
 
std::vector< size_t > trackIndices
 Indices into AnimationClip::tracks that drive this object.
 

Detailed Description

Runtime binding from a TransformTrack to a live child GameObject.

Built once when Play() is called (or when the clip changes) by walking the owner's child hierarchy and matching names to track targets.

Definition at line 87 of file AnimationComponent.h.

Member Data Documentation

◆ object

GameObject* mnd::ObjectBinding::object = nullptr

Non-owning pointer to the target child.

Definition at line 89 of file AnimationComponent.h.

◆ trackIndices

std::vector<size_t> mnd::ObjectBinding::trackIndices

Indices into AnimationClip::tracks that drive this object.

Definition at line 90 of file AnimationComponent.h.


The documentation for this struct was generated from the following file: