Function physx_sys::PxCollection_addId_mut
source · pub unsafe extern "C" fn PxCollection_addId_mut(
self_: *mut PxCollection,
object: *mut PxBase,
id: u64
)
Expand description
Adds an id to a member PxBase object.
If the object is already associated with an id within the collection, the id is replaced. May only be called for objects that are members of the collection. The id needs to be unique within the collection.