play_animation_ffi function

  1. @Native<Void Function(Pointer<Void>, EntityId, Int, Bool, Bool, Bool, Float)>(ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Bool, ffi.Bool, ffi.Bool, ffi.Float)>()
void play_animation_ffi(
  1. Pointer<Void> sceneManager,
  2. int asset,
  3. int index,
  4. bool loop,
  5. bool reverse,
  6. bool replaceActive,
  7. double crossfade,
)

Implementation

@ffi.Native<
    ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Bool,
        ffi.Bool, ffi.Bool, ffi.Float)>()
external void play_animation_ffi(
  ffi.Pointer<ffi.Void> sceneManager,
  int asset,
  int index,
  bool loop,
  bool reverse,
  bool replaceActive,
  double crossfade,
);