bool   sgCScene::AttachObject(sgCObject* obj)

 

Description:

Attaches a new object to the scene.

 

Arguments:

obj - attachable to the scene object.

 

 

Returned value:

Returns false if the object has been already attached to the scene or if the funtion fails, otherwise - true

 

 

Note:

If the object was attached to the scene you can't use the DeleteObject function

 

 

 

See also:

DetachObject