JPH_BodyInterface_NotifyShapeChanged function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, Pointer<JPH_Vec3>, Bool, Int32)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, ffi.Pointer<JPH_Vec3>, ffi.Bool, ffi.Int32)>()
void JPH_BodyInterface_NotifyShapeChanged(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyId,
  3. Pointer<JPH_Vec3> previousCenterOfMass,
  4. bool updateMassProperties,
  5. int activationMode,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    ffi.Pointer<JPH_Vec3>,
    ffi.Bool,
    ffi.Int32,
  )
>()
external void JPH_BodyInterface_NotifyShapeChanged(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyId,
  ffi.Pointer<JPH_Vec3> previousCenterOfMass,
  bool updateMassProperties,
  int activationMode,
);