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

Method setColor

Engine/source/environment/sun.cpp:403–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403void Sun::setColor( const LinearColorF &color )
404{
405 mLightColor = color;
406 _conformLights();
407 setMaskBits( UpdateMask ); // TODO: Break out the masks to save some space!
408}
409
410void Sun::animate( F32 duration, F32 startAzimuth, F32 endAzimuth, F32 startElevation, F32 endElevation )
411{

Callers 15

_conformLightsMethod · 0.45
_conformLightsMethod · 0.45
onWakeMethod · 0.45
setLightColorMethod · 0.45
_conformLightsMethod · 0.45
registerLightsMethod · 0.45
submitLightMethod · 0.45
submitLightsMethod · 0.45
onWakeMethod · 0.45
setLightColorMethod · 0.45
resetViewportMethod · 0.45
animateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected