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

Method getRenderMountTransform

Engine/source/scene/sceneObject.cpp:1356–1365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1354//-----------------------------------------------------------------------------
1355
1356void SceneObject::getRenderMountTransform( F32 delta, S32 index, const MatrixF &xfm, MatrixF *outMat )
1357{
1358 MatrixF mountTransform( xfm );
1359 const Point3F &scale = getScale();
1360 Point3F position = mountTransform.getPosition();
1361 position.convolve( scale );
1362 mountTransform.setPosition( position );
1363
1364 outMat->mul( mRenderObjToWorld, mountTransform );
1365}
1366
1367//=============================================================================
1368// Console API.

Callers

nothing calls this directly

Calls 4

getPositionMethod · 0.45
convolveMethod · 0.45
setPositionMethod · 0.45
mulMethod · 0.45

Tested by

no test coverage detected