MCPcopy Create free account
hub / github.com/assimp/assimp / SetupProperties

Method SetupProperties

code/AssetLib/MD2/MD2Loader.cpp:117–126  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------ Setup configuration properties

Source from the content-addressed store, hash-verified

115// ------------------------------------------------------------------------------------------------
116// Setup configuration properties
117void MD2Importer::SetupProperties(const Importer* pImp)
118{
119 // The
120 // AI_CONFIG_IMPORT_MD2_KEYFRAME option overrides the
121 // AI_CONFIG_IMPORT_GLOBAL_KEYFRAME option.
122 configFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_MD2_KEYFRAME,-1);
123 if(static_cast<unsigned int>(-1) == configFrameID){
124 configFrameID = pImp->GetPropertyInteger(AI_CONFIG_IMPORT_GLOBAL_KEYFRAME,0);
125 }
126}
127// ------------------------------------------------------------------------------------------------
128// Validate the file header
129void MD2Importer::ValidateHeader( )

Callers

nothing calls this directly

Calls 1

GetPropertyIntegerMethod · 0.45

Tested by

no test coverage detected