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

Method size

Engine/modules/Verve/Core/VTreeNode.cpp:198–211  ·  view source on GitHub ↗

----------------------------------------------------------------------------- VTreeNode::size(); Returns the number of child objects. Only includes top level. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

196//
197//-----------------------------------------------------------------------------
198int VTreeNode::size( void )
199{
200 int size = 0;
201
202 ITreeNode *node = mChildNode;
203 while ( node )
204 {
205 size++;
206
207 node = node->mSiblingNextNode;
208 }
209
210 return size;
211}
212
213//-----------------------------------------------------------------------------
214//

Callers 8

despawnTargetsMethod · 0.45
getNodeIndexMethod · 0.45
VEditorWindow.cppFile · 0.45
VController.cppFile · 0.45
VObject.cppFile · 0.45
getCountMethod · 0.45
getItemMethod · 0.45
writePropertiesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected