MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getMaterialSet

Method getMaterialSet

Engine/source/materials/materialManager.cpp:368–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368SimSet * MaterialManager::getMaterialSet()
369{
370 if(!mMaterialSet)
371 mMaterialSet = static_cast<SimSet*>( Sim::findObject( "MaterialSet" ) );
372
373 AssertFatal( mMaterialSet, "MaterialSet not found" );
374 return mMaterialSet;
375}
376
377void MaterialManager::dumpMaterialInstances( BaseMaterialDefinition *target ) const
378{

Callers 1

onAddMethod · 0.80

Calls 1

findObjectFunction · 0.50

Tested by

no test coverage detected