MCPcopy Create free account
hub / github.com/defold/defold / GetBoneCount

Function GetBoneCount

engine/rig/src/rig.cpp:1638–1645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1636 }
1637
1638 uint32_t GetBoneCount(HRigInstance instance)
1639 {
1640 if (instance == 0x0 || instance->m_Skeleton == 0x0) {
1641 return 0;
1642 }
1643
1644 return instance->m_Skeleton->m_Bones.m_Count;
1645 }
1646
1647 uint32_t GetMaxBoneCount(HRigInstance instance)
1648 {

Callers 5

CommitPoseMatrixToCacheFunction · 0.70
GenerateVertexDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected