Regular API
function
simIsObjectInSelection
Description
Checks whether an object is selected. See also
simGetObjectSelection
,
simRemoveObjectFromSelection
and
simAddObjectToSelection
.
C synopsis
simInt simIsObjectInSelection(simInt objectHandle)
C parameters
objectHandle
: handle of the object
C return value
3 if object is the last selection,1 if object is in selection, 0 if not, -1 if operation was not successful
Lua synopsis
number selectionState=simIsObjectInSelection(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function
All regular API functions on one page