setCameraRotation method

  1. @override
Future<void> setCameraRotation(
  1. int textureId,
  2. double roll,
  3. double pitch,
  4. double yaw,
)
override

Update camera rotation

Implementation

@override
Future<void> setCameraRotation(int textureId, double roll, double pitch, double yaw) {
  return _api.setCameraRotation(
    CameraRotationMessage()
      ..textureId = textureId
      ..roll = roll
      ..pitch = pitch
      ..yaw = yaw,
  );
}