MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetAmbientColorHandle

Function GetAmbientColorHandle

trinity/Interior/Tr2InteriorScene.cpp:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100TriVariable* GetAmbientColorHandle()
101{
102 static TriVariable* s_handle = NULL;
103
104 if( s_handle == NULL )
105 {
106 s_handle = GlobalStore().FindVariable( "Scene.AmbientColor" );
107 }
108
109 return s_handle;
110}
111}
112
113Tr2InteriorScene::Tr2InteriorScene( IRoot* lockobj /*= NULL */ ) :

Callers 1

Calls 1

FindVariableMethod · 0.80

Tested by

no test coverage detected