IObjectsList* sgCScene::GetSelectedObjectsList() const
Description:
Returns the pointer to the scene selected objects list which was created by using the AttachObject and Select functions.
Arguments:
No arguments.
Returned value:
Returns the pointer to the selected 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);
line->Select(true);
assert(sgGetScene()->GetSlectedObjectsList()->GetTail()->GetType()==SG_OT_LINE)
See also:
AttachObject DetachObject Select