setPosition method

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

Implementation

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