filament_pick function

  1. @Native<Void Function(Pointer<Void>, Int, Int, Pointer<NativeFunction<Void Function(Int entityId, Int x, Int y)>>)>(ffi.Pointer<ffi.Void>, ffi.Int, ffi.Int, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Int entityId, ffi.Int x, ffi.Int y)>>)>()
void filament_pick(
  1. Pointer<Void> viewer,
  2. int x,
  3. int y,
  4. Pointer<NativeFunction<Void Function(Int entityId, Int x, Int y)>> callback,
)

Implementation

@ffi.Native<
    ffi.Void Function(
        ffi.Pointer<ffi.Void>,
        ffi.Int,
        ffi.Int,
        ffi.Pointer<
            ffi.NativeFunction<
                ffi.Void Function(ffi.Int entityId, ffi.Int x, ffi.Int y)>>)>()
external void filament_pick(
  ffi.Pointer<ffi.Void> viewer,
  int x,
  int y,
  ffi.Pointer<
          ffi.NativeFunction<
              ffi.Void Function(ffi.Int entityId, ffi.Int x, ffi.Int y)>>
      callback,
);