objects | Array of objects to obtain unique identifiers for. |
outputIdentifiers | Array of GlobalObjectId objects to write to. |
Creates an array of unique object identifiers based on an array of objects.
For each item in objects
, this method obtains its unique GlobalObjectId
and writes it to the corresponding element in outputIdentifiers
. Both arrays must be the same size.
This method is slow. Use it sparingly and avoid making multiple calls.
Additional resources: GlobalObjectId.GetGlobalObjectIdSlow, Object.GetInstanceID
outputIdentifiers | Array of GlobalObjectId objects to write to. |
instanceIds | Array of instance IDs of the objects to obtain unique identifiers for. |
Creates an array of unique object identifiers based on an array of instance IDs.
For each object identified by an item in instanceIds
, this method obtains the unique GlobalObjectId
and writes it to the corresponding element in outputIdentifiers
. Both arrays must be the same size.
This method is slow. Use it sparingly and avoid making multiple calls.
Additional resources: GlobalObjectId.GetGlobalObjectIdSlow, Object.GetInstanceID