setAnimationFrame method

  1. @JSExport()
JSPromise<JSAny?> setAnimationFrame(
  1. ThermionEntity entity,
  2. int index,
  3. int animationFrame
)

Implementation

@JSExport()
JSPromise setAnimationFrame(
        ThermionEntity entity, int index, int animationFrame) =>
    viewer
        .setAnimationFrame(
          entity,
          index,
          animationFrame,
        )
        .toJS;