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

Method setDirection

Engine/source/lighting/lightInfo.cpp:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void LightInfo::setDirection( const VectorF &dir )
95{
96 MathUtils::getMatrixFromForwardVector( mNormalize( dir ), &mTransform );
97}
98
99void LightInfo::deleteExtended( const LightInfoExType& type )
100{

Callers 10

openMethod · 0.45
resetMethod · 0.45
_conformLightsMethod · 0.45
_conformLightsMethod · 0.45
onWakeMethod · 0.45
setLightDirectionMethod · 0.45
onWakeMethod · 0.45
setLightTranslateMethod · 0.45
resetViewportMethod · 0.45
updateSunMethod · 0.45

Calls 2

mNormalizeFunction · 0.85

Tested by

no test coverage detected