pub unsafe extern "C" fn PxHeightField_getTriangleMaterialIndex(
    self_: *const PxHeightField,
    triangleIndex: u32
) -> u16
Expand description

Returns material table index of given triangle

This function takes a post cooking triangle index.

Material table index, or 0xffff if no per-triangle materials are used