Property | Type | Description | |
---|---|---|---|
clippingBounds | Rect | ||
clippingEnabled | bool | ||
lineMaterial | Material |
Method | Description | |
---|---|---|
BeginGroup ( Rect position ) : void | ||
DrawLine ( Vector2 pointA, Vector2 pointB, Color color ) : void | ||
EndGroup ( ) : void |
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 |
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 |