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

Method clear

Engine/source/gui/worldEditor/creator.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186//------------------------------------------------------------------------------
187
188void CreatorTree::clear()
189{
190 delete mRoot;
191 mCurId = 0;
192 mRoot = createNode(0, 0, true);
193 mRoot->mFlags.set(Node::Root | Node::Expanded);
194 mSize = Point2I(1,0);
195}
196
197//------------------------------------------------------------------------------
198

Callers 15

on3DMouseDraggedMethod · 0.45
renderSceneMethod · 0.45
deleteDecalDatablockMethod · 0.45
expandMethod · 0.45
DefineEngineMethodFunction · 0.45
buildMethod · 0.45
on3DMouseDraggedMethod · 0.45
synchClientObjectMethod · 0.45
undoMethod · 0.45
rebuildMethod · 0.45
copySelectionMethod · 0.45

Calls 2

Point2IClass · 0.50
setMethod · 0.45

Tested by

no test coverage detected