setRotation method

  1. @JSExport()
JSPromise<JSAny?> setRotation(
  1. ThermionEntity entity,
  2. double rads,
  3. double x,
  4. double y,
  5. double z,
)

Implementation

@JSExport()
JSPromise setRotation(
        ThermionEntity entity, double rads, double x, double y, double z) =>
    viewer.setRotation(entity, rads, x, y, z).toJS;