playAnimation method
Future<void>
playAnimation(
- ThermionEntity entity,
- int index, {
- bool loop = false,
- bool reverse = false,
- bool replaceActive = true,
- double crossfade = 0.0,
override
Schedules the glTF animation at index
in entity
to start playing on the next frame.
Implementation
@override
Future<void> playAnimation(ThermionEntity entity, int index,
{bool loop = false,
bool reverse = false,
bool replaceActive = true,
double crossfade = 0.0}) async {
await _shim
.playAnimation(entity, index, loop, reverse, replaceActive, crossfade)
.toDart;
}