pub unsafe extern "C" fn PxSerialization_isSerializable(
    collection: *mut PxCollection,
    sr: *mut PxSerializationRegistry,
    externalReferences: *const PxCollection
) -> bool
Expand description

Returns whether the collection is serializable with the externalReferences collection.

Some definitions to explain whether a collection can be serialized or not:

For definitions of requires and complete see [PxSerialization::complete]

A serializable object is subordinate if it cannot be serialized on its own The following objects are subordinate:

  • articulation links
  • articulation joints
  • joints

A collection C can be serialized with external references collection D iff

  • C is complete relative to D (no dangling references)
  • Every object in D required by an object in C has a valid ID (no unnamed references)
  • Every subordinate object in C is required by another object in C (no orphans)

Whether the collection is serializable