rect property

CameraRect rect
final

Bounds of the area.

(-1000, -1000) represents the top-left of the camera field of view, and (1000, 1000) represents the bottom-right of the field of view. Setting bounds outside that range is not allowed. Bounds with zero or negative width or height are not allowed.

Implementation

final CameraRect rect;