MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / AssimpAppMaterial

Method AssimpAppMaterial

Engine/source/ts/assimp/assimpAppMaterial.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56AssimpAppMaterial::AssimpAppMaterial(const char* matName)
57{
58 name = ColladaUtils::getOptions().matNamePrefix;
59 name += matName;
60 mAIMat = NULL;
61 // Set some defaults
62 flags |= TSMaterialList::S_Wrap;
63 flags |= TSMaterialList::T_Wrap;
64}
65
66AssimpAppMaterial::AssimpAppMaterial(aiMaterial* mtl) :
67 mAIMat(mtl)

Callers

nothing calls this directly

Calls 6

printfFunction · 0.85
C_StrMethod · 0.80
getFileNameMethod · 0.80
GetMethod · 0.45
isEmptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected