contains

fun contains(point: Vec2): Boolean

Indicates whether this viewport contains a specified point. An empty viewport never contains a point.

Return

true if this viewport contains the point, false otherwise

Parameters

point

the point


Indicates whether this viewport contains a specified point. An empty viewport never contains a point.

Return

true if this viewport contains the point, false otherwise

Parameters

x

the point's X component

y

the point's Y component