pub unsafe extern "C" fn PxSerialization_serializeCollectionToXml(
    outputStream: *mut PxOutputStream,
    collection: *mut PxCollection,
    sr: *mut PxSerializationRegistry,
    cooking: *mut PxCooking,
    externalRefs: *const PxCollection,
    inArgs: *mut PxXmlMiscParameter
) -> bool
Expand description

Serializes a physics collection to an XML output stream.

The collection to be serialized needs to be complete

Serialization of objects in a scene that is simultaneously being simulated is not supported and leads to undefined behavior.

true if the collection is successfully serialized.