Свойство | Type | Description | |
---|---|---|---|
lineMaterial | Material |
Свойство | Type | Description | |
---|---|---|---|
clippingBounds | Rect | ||
clippingEnabled | bool |
Méthode | 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 |
Méthode | Description | |
---|---|---|
clip_test ( float p, float q, float &u1, float &u2 ) : bool | ||
segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool |
Méthode | Description | |
---|---|---|
CubeBezier ( Vector2 s, Vector2 st, Vector2 e, Vector2 et, float t ) : Vector2 |
public static BeginGroup ( Rect position ) : void | ||
position | Rect | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | void |
public static DrawBox ( Rect box, Color color, float width ) : void | ||
box | Rect | |
color | Color | |
width | float | |
Résultat | void |
public static DrawBox ( Vector2 topLeftCorner, Vector2 bottomRightCorner, Color color, float width ) : void | ||
topLeftCorner | Vector2 | |
bottomRightCorner | Vector2 | |
color | Color | |
width | float | |
Résultat | void |
public static DrawLine ( Vector2 start, Vector2 end, Color color, float width ) : void | ||
start | Vector2 | |
end | Vector2 | |
color | Color | |
width | float | |
Résultat | void |
public static DrawRoundedBox ( Rect box, float radius, Color color, float width ) : void | ||
box | Rect | |
radius | float | |
color | Color | |
width | float | |
Résultat | void |
protected static clip_test ( float p, float q, float &u1, float &u2 ) : bool | ||
p | float | |
q | float | |
u1 | float | |
u2 | float | |
Résultat | bool |
protected static segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool | ||
bounds | Rect | |
p1 | Vector2 | |
p2 | Vector2 | |
Résultat | bool |