simGetReferencedHandles
Retrieves a list of custom handles, linking a given scene object to other scene objects
C++ synopsis
int simGetReferencedHandles(int objectHandle, int** referencedHandles, int** reserved1,
int** reserved2)
Arguments
- objectHandle: handle of the scene object that stores the list of handles. Can be optionally combined with sim.handleflag_keeporiginal, in which case the handles that link to originals are retrieved.
- referencedHandles: a pointer to a pointer that will be allocated and receive the list of scene object handles. The user is in charge of releasing that buffer with simReleaseBuffer.
- reserved1: reserved for future extensions
- reserved2: reserved for future extensions
Return
- -1 in case of an error. Otherwise, the number of handles returned.
See also:
|