Description
|
Retrieves all selected object's handles. See also simGetObjectSelectionSize, simAddObjectToSelection and simRemoveObjectFromSelection.
|
C synopsis
|
simInt simGetObjectSelection(simInt* objectHandles)
|
C parameters |
|
C return value
|
size of the selection (>=0) if operation was successful, -1 otherwise
|
Lua synopsis
|
table selectedObjectHandles=simGetObjectSelection() |
Lua parameters |
None
|
Lua return values
|
selectedObjectHandles: table containing the handles of all selected objects, or nil if no object is selected or in case of an error
|