JPH_Shape_GetMaterial function

  1. @Native<Pointer<JPH_PhysicsMaterial> Function(Pointer<JPH_Shape>, JPH_SubShapeID)>(ffi.Pointer<JPH_Shape>, JPH_SubShapeID)>()
Pointer<JPH_PhysicsMaterial> JPH_Shape_GetMaterial(
  1. Pointer<JPH_Shape> shape,
  2. int subShapeID
)

Implementation

@ffi.Native<
  ffi.Pointer<JPH_PhysicsMaterial> Function(
    ffi.Pointer<JPH_Shape>,
    JPH_SubShapeID,
  )
>()
external ffi.Pointer<JPH_PhysicsMaterial> JPH_Shape_GetMaterial(
  ffi.Pointer<JPH_Shape> shape,
  int subShapeID,
);