moveCameraToAsset method

  1. @override
Future moveCameraToAsset(
  1. ThermionEntity entity
)
override

Repositions the camera to the last vertex of the bounding box of entity, looking at the penultimate vertex.

Implementation

@override
Future moveCameraToAsset(ThermionEntity entity) async {
  _module.ccall("move_camera_to_asset", "void",
      ["void*".toJS, "int".toJS].toJS, [_viewer!, entity.toJS].toJS, null);
}