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

Method getRenderMountTransform

Engine/source/scene/sceneObject.cpp:1176–1185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1174//-----------------------------------------------------------------------------
1175
1176void SceneObject::getRenderMountTransform( F32 delta, S32 index, const MatrixF &xfm, MatrixF *outMat )
1177{
1178 MatrixF mountTransform( xfm );
1179 const Point3F &scale = getScale();
1180 Point3F position = mountTransform.getPosition();
1181 position.convolve( scale );
1182 mountTransform.setPosition( position );
1183
1184 outMat->mul( mRenderObjToWorld, mountTransform );
1185}
1186
1187//=============================================================================
1188// 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