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

Method deselect

Engine/source/navigation/guiNavEditorCtrl.cpp:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void GuiNavEditorCtrl::deselect()
155{
156 if(!mMesh.isNull())
157 mMesh->setSelected(false);
158 mMesh = NULL;
159 mPlayer = mCurPlayer = NULL;
160 mCurTile = mTile = -1;
161 mLinkStart = Point3F::Max;
162 mLink = mCurLink = -1;
163}
164
165DefineEngineMethod(GuiNavEditorCtrl, deselect, void, (),,
166 "@brief Deselect whatever is currently selected in the editor.")

Callers 1

Calls 2

isNullMethod · 0.45
setSelectedMethod · 0.45

Tested by

no test coverage detected