pub unsafe extern "C" fn PxPhysics_getMaterials(
    self_: *const PxPhysics,
    userBuffer: *mut *mut PxMaterial,
    bufferSize: u32,
    startIndex: u32
) -> u32
Expand description

Writes the array of rigid body material pointers to a user buffer.

Returns the number of pointers written.

The ordering of the materials in the array is not specified.

The number of material pointers written to userBuffer, this should be less or equal to bufferSize.