filament_pick function

  1. @Native<Void Function(Pointer<Void>, Int, Int, Pointer<NativeFunction<Void Function(EntityId entityId, Int x, Int y)>>)>(ffi.Pointer<ffi.Void>, ffi.Int, ffi.Int, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId entityId, ffi.Int x, ffi.Int y)>>)>(symbol: '_filament_pick', assetId: 'thermion_dart')
void filament_pick(
  1. Pointer<Void> viewer,
  2. int x,
  3. int y,
  4. Pointer<NativeFunction<Void Function(EntityId 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(
                        EntityId entityId, ffi.Int x, ffi.Int y)>>)>(
    symbol: '_filament_pick', assetId: 'thermion_dart')
external void filament_pick(
  ffi.Pointer<ffi.Void> viewer,
  int x,
  int y,
  ffi.Pointer<
          ffi.NativeFunction<
              ffi.Void Function(EntityId entityId, ffi.Int x, ffi.Int y)>>
      callback,
);