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

Method getMaterialName

Engine/source/terrain/terrData.cpp:1075–1081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073}
1074
1075const char* TerrainBlock::getMaterialName( U32 index ) const
1076{
1077 if ( index < mFile->mMaterials.size() )
1078 return mFile->mMaterials[ index ]->getInternalName();
1079
1080 return NULL;
1081}
1082
1083void TerrainBlock::setLightMap( GBitmap *newLightMap )
1084{

Callers 1

Calls 2

getInternalNameMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected