IObjectsList* sgCScene::GetObjectsList() const
Description:
Returns the pointer to the scene objects list which was created after opening a file or by using the AttachObject function.
Arguments:
No arguments.
Returned value:
Returns the pointer to the objects list. More about the objects list - IObjectsList
Example:
sgLine* line = sgCreateLine(0.0, 0.0, 0.0, 2.0, 3.0, 5.0);
sgGetScene()->AttachObject(line);
assert(sgGetScene()->GetObjectsList()->GetTail()->GetType()==SG_OT_LINE)
See also: