Description
|
Retrieves the object handles that compose a collection. See also the other functions related to collections. |
C/C++ synopsis
|
simInt* simGetCollectionObjects(simInt collectionHandle,simInt* objectCount) |
C/C++ parameters |
collectionHandle: handle of the collection
objectCount: pointer to a value receiving the number of returned object handles
|
C/C++ return value
|
pointer to n object handles, or nullptr if an error occurred. The user is in charge of destroying the returned buffer with simReleaseBuffer
|
Lua synopsis
|
int[] objectHandles=sim.getCollectionObjects(int collectionHandle) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|
Python synopsis |
list objectHandles=sim.getCollectionObjects(int collectionHandle) |