update method

void update({
  1. double? rotationX,
  2. double? rotationY,
  3. double? rotationZ,
  4. double? zoom,
  5. Vector3? position,
  6. Vector3? viewDirection,
})

Implementation

void update({
  double? rotationX,
  double? rotationY,
  double? rotationZ,
  double? zoom,
  Vector3? position,
  Vector3? viewDirection,
}) {
  this.rotationX = rotationX ?? this.rotationX;
  this.rotationY = rotationY ?? this.rotationY;
  this.rotationZ = rotationZ ?? this.rotationZ;
  this.zoom = zoom ?? this.zoom;
  this.position = position ?? this.position;
  notifyListeners();
}