JPH_BodyInterface_GetMaterial function

  1. @Native<Pointer<JPH_PhysicsMaterial> Function(Pointer<JPH_BodyInterface>, JPH_BodyID, JPH_SubShapeID)>(ffi.Pointer<JPH_BodyInterface>, JPH_BodyID, JPH_SubShapeID)>(isLeaf: true)
Pointer<JPH_PhysicsMaterial> JPH_BodyInterface_GetMaterial(
  1. Pointer<JPH_BodyInterface> bodyInterface,
  2. int bodyId,
  3. int subShapeID
)

Implementation

@ffi.Native<
  ffi.Pointer<JPH_PhysicsMaterial> Function(
    ffi.Pointer<JPH_BodyInterface>,
    JPH_BodyID,
    JPH_SubShapeID,
  )
>(isLeaf: true)
external ffi.Pointer<JPH_PhysicsMaterial> JPH_BodyInterface_GetMaterial(
  ffi.Pointer<JPH_BodyInterface> bodyInterface,
  int bodyId,
  int subShapeID,
);