JPH_HeightFieldShape_GetMaterial function

  1. @Native<Pointer<JPH_PhysicsMaterial> Function(Pointer<JPH_HeightFieldShape>, Uint32, Uint32)>(ffi.Pointer<JPH_HeightFieldShape>, ffi.Uint32, ffi.Uint32)>()
Pointer<JPH_PhysicsMaterial> JPH_HeightFieldShape_GetMaterial(
  1. Pointer<JPH_HeightFieldShape> shape,
  2. int x,
  3. int y
)

Implementation

@ffi.Native<
  ffi.Pointer<JPH_PhysicsMaterial> Function(
    ffi.Pointer<JPH_HeightFieldShape>,
    ffi.Uint32,
    ffi.Uint32,
  )
>()
external ffi.Pointer<JPH_PhysicsMaterial> JPH_HeightFieldShape_GetMaterial(
  ffi.Pointer<JPH_HeightFieldShape> shape,
  int x,
  int y,
);