Function physx_sys::PxMeshQuery_findOverlapHeightField
source · pub unsafe extern "C" fn PxMeshQuery_findOverlapHeightField(
geom: *const PxGeometry,
geomPose: *const PxTransform,
hfGeom: *const PxHeightFieldGeometry,
hfPose: *const PxTransform,
results: *mut u32,
maxResults: u32,
startIndex: u32,
overflow: *mut bool,
queryFlags: PxGeometryQueryFlags
) -> u32
Expand description
Find the height field triangles which touch the specified geometry object.
Returned triangle indices can be used with getTriangle
to retrieve the triangle properties.
Number of overlaps found, i.e. number of elements written to the results buffer