JPH_CompoundShapeSettings_AddShape2 function

  1. @Native<Void Function(Pointer<JPH_CompoundShapeSettings>, Pointer<JPH_Vec3>, Pointer<JPH_Quat>, Pointer<JPH_Shape>, Uint32)>(ffi.Pointer<JPH_CompoundShapeSettings>, ffi.Pointer<JPH_Vec3>, ffi.Pointer<JPH_Quat>, ffi.Pointer<JPH_Shape>, ffi.Uint32)>()
void JPH_CompoundShapeSettings_AddShape2(
  1. Pointer<JPH_CompoundShapeSettings> settings,
  2. Pointer<JPH_Vec3> position,
  3. Pointer<JPH_Quat> rotation,
  4. Pointer<JPH_Shape> shape,
  5. int userData,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_CompoundShapeSettings>,
    ffi.Pointer<JPH_Vec3>,
    ffi.Pointer<JPH_Quat>,
    ffi.Pointer<JPH_Shape>,
    ffi.Uint32,
  )
>()
external void JPH_CompoundShapeSettings_AddShape2(
  ffi.Pointer<JPH_CompoundShapeSettings> settings,
  ffi.Pointer<JPH_Vec3> position,
  ffi.Pointer<JPH_Quat> rotation,
  ffi.Pointer<JPH_Shape> shape,
  int userData,
);