play_animation 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)>(symbol: '_play_animation', assetId: 'thermion_dart')
void play_animation(
  1. Pointer<Void> sceneManager,
  2. int entity,
  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)>(symbol: '_play_animation', assetId: 'thermion_dart')
external void play_animation(
  ffi.Pointer<ffi.Void> sceneManager,
  int entity,
  int index,
  bool loop,
  bool reverse,
  bool replaceActive,
  double crossfade,
);