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

Method mapMaterial

Engine/source/ts/tsMaterialList.cpp:316–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316void TSMaterialList::mapMaterial( U32 i )
317{
318 Parent::mapMaterial( i );
319
320 BaseMatInstance* matInst = mMatInstList[i];
321 if (matInst && matInst->getMaterial()->isTranslucent())
322 mFlags[i] |= Translucent;
323}

Callers 2

shapeBase.cppFile · 0.45
tsStatic.cppFile · 0.45

Calls 2

isTranslucentMethod · 0.80
getMaterialMethod · 0.45

Tested by

no test coverage detected