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

Method GetMorphTargetNames

trinity/Tr2Mesh.cpp:247–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247std::vector<std::string>* Tr2Mesh::GetMorphTargetNames() const
248{
249 if( !GetGeometryResource() )
250 {
251 return nullptr;
252 }
253
254 auto mesh = GetGeometryResource()->GetMeshLod( GetMeshIndex(), 0 );
255
256 if( !mesh )
257 {
258 return nullptr;
259 }
260
261 return &mesh->m_morphTargetNames;
262}
263
264bool Tr2Mesh::IsBakedMorph( int index ) const
265{

Callers

nothing calls this directly

Calls 1

GetMeshLodMethod · 0.45

Tested by

no test coverage detected