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

Method _getMaterialInstance

Engine/source/environment/skySphere.cpp:633–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getMaterialMethod · 0.45

Tested by

no test coverage detected