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

Method advanceTime

Engine/source/T3D/lightBase.cpp:265–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void LightBase::advanceTime( F32 timeDelta )
266{
267 if ( isMounted() )
268 {
269 MatrixF mat( true );
270 mMount.object->getRenderMountTransform( 0.f, mMount.node, mMount.xfm, &mat );
271 mLight->setTransform( mat );
272 Parent::setTransform( mat );
273 }
274}
275
276U32 LightBase::packUpdate( NetConnection *conn, U32 mask, BitStream *stream )
277{

Callers

nothing calls this directly

Calls 2

setTransformMethod · 0.45

Tested by

no test coverage detected