set_camera_ffi function

  1. @Native<Void Function(Pointer<Void>, EntityId, Pointer<Char>, Pointer<NativeFunction<Void Function(Bool)>>)>(ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Bool)>>)>(symbol: '_set_camera_ffi', assetId: 'thermion_dart')
void set_camera_ffi(
  1. Pointer<Void> viewer,
  2. int asset,
  3. Pointer<Char> nodeName,
  4. Pointer<NativeFunction<Void Function(Bool)>> callback,
)

Implementation

@ffi.Native<
        ffi.Void Function(
            ffi.Pointer<ffi.Void>,
            EntityId,
            ffi.Pointer<ffi.Char>,
            ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Bool)>>)>(
    symbol: '_set_camera_ffi', assetId: 'thermion_dart')
external void set_camera_ffi(
  ffi.Pointer<ffi.Void> viewer,
  int asset,
  ffi.Pointer<ffi.Char> nodeName,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Bool)>> callback,
);