Camera2DD constructor

Camera2DD({
  1. Pointer<Camera2DC>? originalPointer,
  2. Vector2D? offset,
  3. Vector2D? target,
  4. double rotation = 0,
  5. double zoom = 0,
})

Implementation

Camera2DD({
  super.originalPointer,
  Vector2D? offset,
  Vector2D? target,
  this.rotation = 0,
  this.zoom = 0,
}) :
  offset = offset ?? .zero(),
  target = target ?? .zero();