JPH_HeightFieldShape_ProjectOntoSurface function
- @Native<Bool Function(Pointer<
JPH_HeightFieldShape> , Pointer<JPH_Vec3> , Pointer<JPH_Vec3> , Pointer<JPH_BodyID> )>(ffi.Pointer<JPH_HeightFieldShape>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_SubShapeID>)>()
- Pointer<
JPH_HeightFieldShape> shape, - Pointer<
JPH_Vec3> localPosition, - Pointer<
JPH_Vec3> outSurfacePosition, - Pointer<
JPH_BodyID> outSubShapeID,
Implementation
@ffi.Native<
ffi.Bool Function(
ffi.Pointer<JPH_HeightFieldShape>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_SubShapeID>,
)
>()
external bool JPH_HeightFieldShape_ProjectOntoSurface(
ffi.Pointer<JPH_HeightFieldShape> shape,
ffi.Pointer<JPH_Vec3> localPosition,
ffi.Pointer<JPH_Vec3> outSurfacePosition,
ffi.Pointer<JPH_SubShapeID> outSubShapeID,
);