Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
94
void LightInfo::setDirection( const VectorF &dir )
95
{
96
MathUtils::getMatrixFromForwardVector( mNormalize( dir ), &mTransform );
97
}
98
99
void LightInfo::deleteExtended( const LightInfoExType& type )
100
{
Callers
10
open
Method · 0.45
reset
Method · 0.45
_conformLights
Method · 0.45
_conformLights
Method · 0.45
onWake
Method · 0.45
setLightDirection
Method · 0.45
onWake
Method · 0.45
setLightTranslate
Method · 0.45
resetViewport
Method · 0.45
updateSun
Method · 0.45
Calls
2
getMatrixFromForwardVector
Function · 0.85
mNormalize
Function · 0.85
Tested by
no test coverage detected