Viewport
Constructors
Functions
Link copied to clipboard
Computes the intersection of this viewport and a specified viewport, storing the result in this viewport and returning whether the viewport intersects. Two viewport intersect when both overlap by a non-zero amount. An empty viewport never intersects another viewport.
When there is no intersection, this returns false and leaves this viewport unchanged. To test for intersection without modifying this viewport, use intersects.
Link copied to clipboard
Indicates whether this viewport intersects a specified viewport. Two viewport intersect when both overlap by a non-zero amount. An empty viewport never intersects another viewport.