Property | Type | Description | |
---|---|---|---|
lineMaterial | Material |
Property | Type | Description | |
---|---|---|---|
clippingBounds | Rect | ||
clippingEnabled | bool |
Method | Description | |
---|---|---|
BeginGroup ( Rect position ) : void | ||
CreateMaterial ( ) : void | ||
DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width ) : void | ||
DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, int segments ) : void | ||
DrawBox ( Rect box, Color color, float width ) : void | ||
DrawBox ( Vector2 topLeftCorner, Vector2 bottomRightCorner, Color color, float width ) : void | ||
DrawLine ( Vector2 start, Vector2 end, Color color, float width ) : void | ||
DrawRoundedBox ( Rect box, float radius, Color color, float width ) : 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 |
Method | Description | |
---|---|---|
CubeBezier ( Vector2 s, Vector2 st, Vector2 e, Vector2 et, float t ) : Vector2 |
public static BeginGroup ( Rect position ) : void | ||
position | Rect | |
return | void |
public static DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width ) : void | ||
start | Vector2 | |
startTangent | Vector2 | |
end | Vector2 | |
endTangent | Vector2 | |
color | Color | |
width | float | |
return | void |
public static DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, int segments ) : void | ||
start | Vector2 | |
startTangent | Vector2 | |
end | Vector2 | |
endTangent | Vector2 | |
color | Color | |
width | float | |
segments | int | |
return | void |
public static DrawBox ( Rect box, Color color, float width ) : void | ||
box | Rect | |
color | Color | |
width | float | |
return | void |
public static DrawBox ( Vector2 topLeftCorner, Vector2 bottomRightCorner, Color color, float width ) : void | ||
topLeftCorner | Vector2 | |
bottomRightCorner | Vector2 | |
color | Color | |
width | float | |
return | void |
public static DrawLine ( Vector2 start, Vector2 end, Color color, float width ) : void | ||
start | Vector2 | |
end | Vector2 | |
color | Color | |
width | float | |
return | void |
public static DrawRoundedBox ( Rect box, float radius, Color color, float width ) : void | ||
box | Rect | |
radius | float | |
color | Color | |
width | float | |
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 |