JPH_BodyInterface_SetShape function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Pointer<JPH_Shape>, Bool, Int32)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Pointer<JPH_Shape>, ffi.Bool, ffi.Int32)>(isLeaf: true)
void JPH_BodyInterface_SetShape(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyId,
  3. Pointer<JPH_Shape> shape,
  4. bool updateMassProperties,
  5. int activationMode,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    ffi.Pointer<JPH_Shape>,
    ffi.Bool,
    ffi.Int32,
  )
>(isLeaf: true)
external void JPH_BodyInterface_SetShape(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyId,
  ffi.Pointer<JPH_Shape> shape,
  bool updateMassProperties,
  int activationMode,
);