void   sgCObject::Select(bool sel)



Sets the selection flag of the object to true or false depending on the argument value.



sel - if true the object will be selected, otherwise - deselected.


Returned value:

No values.



Being selected the object will be added to the list of the scene selected objects. Read more about it at sgCScene::GetSelectedObjectsList





See also:

Objects hierarchy   sgCObject methods   sgCObject::IsSelect