Property | Type | Description | |
---|---|---|---|
clippingEnabled | bool |
Property | Type | Description | |
---|---|---|---|
clippingBounds | Rect | ||
lineMaterial | Material |
Method | Description | |
---|---|---|
BeginGroup ( Rect position ) : void | ||
DrawLine ( Vector2 pointA, Vector2 pointB, Color color ) : void | ||
DrawRect ( Rect rect, Color color ) : void | ||
EndGroup ( ) : void | ||
IntersectRectangle ( Vector2 sp, Vector2 tp, Rect source ) : IntersectStruct | ||
Intersects ( Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2 ) : IntersectStruct |
Method | Description | |
---|---|---|
clip_test ( float p, float q, float &u1, float &u2 ) : bool | ||
segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool |
public static BeginGroup ( Rect position ) : void | ||
position | Rect | |
return | void |
public static DrawLine ( Vector2 pointA, Vector2 pointB, Color color ) : void | ||
pointA | Vector2 | |
pointB | Vector2 | |
color | Color | |
return | void |
public static DrawRect ( Rect rect, Color color ) : void | ||
rect | Rect | |
color | Color | |
return | void |
public static IntersectRectangle ( Vector2 sp, Vector2 tp, Rect source ) : IntersectStruct | ||
sp | Vector2 | |
tp | Vector2 | |
source | Rect | |
return | IntersectStruct |
public static Intersects ( Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2 ) : IntersectStruct | ||
a1 | Vector2 | |
a2 | Vector2 | |
b1 | Vector2 | |
b2 | Vector2 | |
return | IntersectStruct |
protected static clip_test ( float p, float q, float &u1, float &u2 ) : bool | ||
p | float | |
q | float | |
u1 | float | |
u2 | float | |
return | bool |
protected static segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool | ||
bounds | Rect | |
p1 | Vector2 | |
p2 | Vector2 | |
return | bool |