Function physx_sys::PxScene_addCollection_mut
source · pub unsafe extern "C" fn PxScene_addCollection_mut(
self_: *mut PxScene,
collection: *const PxCollection
) -> bool
Expand description
Adds objects in the collection to this scene.
This function adds the following types of objects to this scene: PxRigidActor (except PxArticulationLink), PxAggregate, PxArticulationReducedCoordinate. This method is typically used after deserializing the collection in order to populate the scene with deserialized objects.
If the collection contains an actor with an invalid constraint, in checked builds the call is ignored and an error is issued.
True if success