Method | Description | |
---|---|---|
Contains ( this poly, |
check if the bounds is completely inside, check all four points
|
|
Contains ( this poly, |
check if the point is inside
|
|
Contains ( this poly, Vector2 pmin, Vector2 pmax ) : bool |
check if the bounds is completely inside, check all four points
|
|
GetWorldPoints ( this poly ) : Vector2[] |
Get all points in the collider as Vector2
|
|
GetWorldPoints3 ( this poly, bool close = false ) : Vector3[] |
Get all points in the collider as Vector3
|
|
Intersects ( this poly, Vector2 a, Vector2 b, Vector2 &intersection ) : bool |
helper
|
|
IntersectsTop ( this poly, Bounds bounds, Vector2 &intersection ) : bool |
helper
|
Method | Description | |
---|---|---|
Intersection ( Vector2 p1, Vector2 q1, Vector2 p2, Vector2 q2, Vector2 &res ) : bool |
helper
|
static public Contains ( this poly, |
||
poly | this | |
b | ||
return | bool |
static public Contains ( this poly, |
||
poly | this | |
p | ||
return | bool |
static public Contains ( this poly, Vector2 pmin, Vector2 pmax ) : bool | ||
poly | this | |
pmin | Vector2 | |
pmax | Vector2 | |
return | bool |
static public GetWorldPoints ( this poly ) : Vector2[] | ||
poly | this | |
return | Vector2[] |
static public GetWorldPoints3 ( this poly, bool close = false ) : Vector3[] | ||
poly | this | |
close | bool | |
return | Vector3[] |
static public Intersects ( this poly, Vector2 a, Vector2 b, Vector2 &intersection ) : bool | ||
poly | this | |
a | Vector2 | |
b | Vector2 | |
intersection | Vector2 | |
return | bool |
static public IntersectsTop ( this poly, Bounds bounds, Vector2 &intersection ) : bool | ||
poly | this | |
bounds | Bounds | |
intersection | Vector2 | |
return | bool |