MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setPosition

Method setPosition

Engine/source/T3D/pathCamera.cpp:299–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297//----------------------------------------------------------------------------
298
299void PathCamera::setPosition(F32 pos)
300{
301 mPosition = mClampF(pos, (F32)mNodeBase, (F32)(mNodeBase + mNodeCount - 1));
302 MatrixF mat;
303 interpolateMat(mPosition,&mat);
304 Parent::setTransform(mat);
305 setMaskBits(PositionMask);
306}
307
308void PathCamera::setTarget(F32 pos)
309{

Callers 3

PathCameraMethod · 0.45
interpolateMatMethod · 0.45
pathCamera.cppFile · 0.45

Calls 1

mClampFFunction · 0.85

Tested by

no test coverage detected