JPH_Shape_CastRay2 function
- @Native<Bool Function(Pointer<JPH_Shape>, Pointer<JPH_Vec3>, Pointer<JPH_Vec3>, Pointer<JPH_RayCastSettings>, Int32, Pointer<JPH_CastRayResultCallback>, Pointer<Void>, Pointer<JPH_ShapeFilter>)>(ffi.Pointer<JPH_Shape>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_RayCastSettings>, ffi.Int32, ffi.Pointer<JPH_CastRayResultCallback>, ffi.Pointer<ffi.Void>, ffi.Pointer<JPH_ShapeFilter>)>()
bool
JPH_Shape_CastRay2(
- Pointer<JPH_Shape> shape,
- Pointer<JPH_Vec3> origin,
- Pointer<JPH_Vec3> direction,
- Pointer<JPH_RayCastSettings> rayCastSettings,
- int collectorType,
- Pointer<JPH_CastRayResultCallback> callback,
- Pointer<Void> userData,
- Pointer<JPH_ShapeFilter> shapeFilter,
)
Implementation
@ffi.Native<
ffi.Bool Function(
ffi.Pointer<JPH_Shape>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_Vec3>,
ffi.Pointer<JPH_RayCastSettings>,
ffi.Int32,
ffi.Pointer<JPH_CastRayResultCallback>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<JPH_ShapeFilter>,
)
>()
external bool JPH_Shape_CastRay2(
ffi.Pointer<JPH_Shape> shape,
ffi.Pointer<JPH_Vec3> origin,
ffi.Pointer<JPH_Vec3> direction,
ffi.Pointer<JPH_RayCastSettings> rayCastSettings,
int collectorType,
ffi.Pointer<JPH_CastRayResultCallback> callback,
ffi.Pointer<ffi.Void> userData,
ffi.Pointer<JPH_ShapeFilter> shapeFilter,
);