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

Method getMountThreadPos

Engine/source/gui/editor/guiShapeEdPreview.cpp:620–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620F32 GuiShapeEdPreview::getMountThreadPos(S32 mountSlot) const
621{
622 if ( mountSlot < mMounts.size() )
623 {
624 MountedShape* mount = mMounts[mountSlot];
625 if ( mount->mThread.key )
626 return mount->mShape->getPos( mount->mThread.key );
627 }
628 return 0;
629}
630
631void GuiShapeEdPreview::setMountThreadPos(S32 mountSlot, F32 pos)
632{

Callers 3

shapeEditor.ed.csFile · 0.80
shapeEditor.ed.csFile · 0.80

Calls 2

sizeMethod · 0.45
getPosMethod · 0.45

Tested by

no test coverage detected