MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetAllBakedMorphTargetStates

Method GetAllBakedMorphTargetStates

trinity/Tr2Mesh.cpp:357–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357std::vector<bool>* Tr2Mesh::GetAllBakedMorphTargetStates() const
358{
359 if( !GetGeometryResource() )
360 {
361 return nullptr;
362 }
363
364 auto mesh = GetGeometryResource()->GetMeshLod( GetMeshIndex(), 0 );
365
366 if( !mesh )
367 {
368 return nullptr;
369 }
370
371 return &mesh->m_isBakedMorphTarget;
372}
373
374const std::unordered_map<std::string, Tr2MorphTargetAnimationData>& Tr2Mesh::GetMorphAnimations() const
375{

Callers

nothing calls this directly

Calls 1

GetMeshLodMethod · 0.45

Tested by

no test coverage detected