playAnimationByName abstract method

Future playAnimationByName(
  1. ThermionEntity entity,
  2. String name, {
  3. bool loop = false,
  4. bool reverse = false,
  5. bool replaceActive = true,
  6. double crossfade = 0.0,
})

Schedules the glTF animation at index in entity to start playing on the next frame.

Implementation

Future playAnimationByName(ThermionEntity entity, String name,
    {bool loop = false,
    bool reverse = false,
    bool replaceActive = true,
    double crossfade = 0.0});