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

Method addToScene

Engine/source/scene/sceneObject.cpp:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350//-----------------------------------------------------------------------------
351
352void SceneObject::addToScene()
353{
354 if( mSceneManager )
355 return;
356
357 if( isClientObject() )
358 gClientSceneGraph->addObjectToScene( this );
359 else
360 gServerSceneGraph->addObjectToScene( this );
361}
362
363//-----------------------------------------------------------------------------
364

Callers

nothing calls this directly

Calls 1

addObjectToSceneMethod · 0.80

Tested by

no test coverage detected