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

Method setPosition

Engine/source/T3D/pathShape.cpp:241–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239
240
241void PathShape::setPosition(F32 pos)
242{
243 mPosition = mClampF(pos,mNodeBase,mNodeBase + mNodeCount - 1);
244 MatrixF mat;
245 interpolateMat(mPosition,&mat);
246 Parent::setTransform(mat);
247 setMaskBits(PositionMask);
248}
249
250void PathShape::setTarget(F32 pos)
251{

Callers 2

interpolateMatMethod · 0.45
pathShape.cppFile · 0.45

Calls 1

mClampFFunction · 0.85

Tested by

no test coverage detected