Kemena3D
Loading...
Searching...
No Matches
kemena::kNodeData Struct Reference

Node in a skeletal-animation hierarchy (one per scene-graph joint). More...

#include <kdatatype.h>

Public Attributes

kMat4 transformation
 Local-space transform for this node.
kString name
 Node name (used to look up bones by name).
int childrenCount
 Number of child nodes.
std::vector< kNodeDatachildren
 Child nodes.

Detailed Description

Node in a skeletal-animation hierarchy (one per scene-graph joint).

The skeletal animation loader walks the source asset's node tree and builds an equivalent kNodeData tree; kAnimator then traverses this tree each frame to accumulate world-space bone matrices. The fields mirror what a typical skinned-mesh asset format provides without referencing any specific import library.

Member Data Documentation

◆ children

std::vector<kNodeData> kemena::kNodeData::children

Child nodes.

◆ childrenCount

int kemena::kNodeData::childrenCount

Number of child nodes.

◆ name

kString kemena::kNodeData::name

Node name (used to look up bones by name).

◆ transformation

kMat4 kemena::kNodeData::transformation

Local-space transform for this node.


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