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

Method setPosition

Engine/source/T3D/pathCamera.cpp:301–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

PathCameraMethod · 0.45
interpolateMatMethod · 0.45
pathCamera.cppFile · 0.45

Calls 1

mClampFFunction · 0.85

Tested by

no test coverage detected