JPH_BodyInterface_SetObjectLayer function

  1. @Native<Void Function(Pointer<JPH_BodyInterface>, JPH_BodyID, JPH_ObjectLayer)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, JPH_ObjectLayer)>(isLeaf: true)
void JPH_BodyInterface_SetObjectLayer(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyId,
  3. int layer
)

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, JPH_ObjectLayer)
>(isLeaf: true)
external void JPH_BodyInterface_SetObjectLayer(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyId,
  int layer,
);