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

Method getPosition

Engine/source/afx/afxConstraint.cpp:1926–1937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1924}
1925
1926bool afxEffectConstraint::getPosition(Point3F& pos, F32 hist)
1927{
1928 if (!mEffect || !mEffect->inScope())
1929 return false;
1930
1931 if (mCons_def.mPos_at_box_center)
1932 mEffect->getUpdatedBoxCenter(pos);
1933 else
1934 mEffect->getUpdatedPosition(pos);
1935
1936 return true;
1937}
1938
1939bool afxEffectConstraint::getTransform(MatrixF& xfm, F32 hist)
1940{

Callers 15

init_constraintsMethod · 0.45
process_clientMethod · 0.45
finish_startupMethod · 0.45
sampleMethod · 0.45
getTransformMethod · 0.45
getSampleMethod · 0.45
init_constraintsMethod · 0.45
process_clientMethod · 0.45
prepBatchRenderMethod · 0.45
create_splashMethod · 0.45
get_launch_dataMethod · 0.45

Calls 11

inScopeMethod · 0.80
getUpdatedPositionMethod · 0.80
getUpdatedTransformMethod · 0.80
getUpdatedScaleMethod · 0.80
getSampleMethod · 0.80
getUpdatedBoxCenterMethod · 0.45
getTSShapeInstanceMethod · 0.45
getTSShapeMethod · 0.45
findNodeMethod · 0.45
setPositionMethod · 0.45
mulMethod · 0.45

Tested by

no test coverage detected