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

Method _getMaterialInstance

Engine/source/environment/skyBox.cpp:636–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636BaseMatInstance* SkyBox::_getMaterialInstance()
637{
638 if ( !mMaterial || !mMatInstance || mMatInstance->getMaterial() != mMaterial )
639 _initMaterial();
640
641 if ( !mMatInstance )
642 return NULL;
643
644 return mMatInstance;
645}
646
647DefineEngineMethod( SkyBox, postApply, void, (), , "")
648{

Callers

nothing calls this directly

Calls 1

getMaterialMethod · 0.45

Tested by

no test coverage detected