playAnimationByName method
Future<void>
playAnimationByName(
- ThermionEntity entity,
- String name, {
- 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> playAnimationByName(ThermionEntity entity, String name,
{bool loop = false,
bool reverse = false,
bool replaceActive = true,
double crossfade = 0.0}) async {
await _shim
.playAnimationByName(
entity, name, loop, reverse, replaceActive, crossfade)
.toDart;
}