Regular API function


Description Retrieves the object handles that compose a given collection.
C synopsis simInt* simGetCollectionObjects(simInt collectionHandle,simInt* objectCount)
C parameters
collectionHandle: handle of the collection
objectCount: pointer to a value receiving the number of returned object handles
C return value
pointer to n object handles, or NULL if an error occurred. The user is in charge of destroying the returned buffer with simReleaseBuffer
Lua synopsis table objectHandles=simGetCollectionObjects(number collectionHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function (but nil instead of NULL, and simReleaseBuffer does not need to be called)

All regular API functions on one page