position property

  1. @override
Vector2 get position
override

The game coordinates of a point that is to be positioned at the center of the viewport.

Implementation

@override
Vector2 get position => -transform.offset;
  1. @override
set position (Vector2 value)
override

Implementation

@override
set position(Vector2 value) {
  transform.offset = -value;
  visibleRect = null;
}