Méthode | Description | |
---|---|---|
DrawLine ( IEnumerable |
||
DrawLine ( IEnumerable |
||
DrawLine ( float3 start, float3 end, float width, Color color ) : void | ||
DrawLine ( float3 start, float3 end, float width, Color startColor, Color endColor ) : void | ||
DrawPolygon ( float2 vertices, float width, Color color ) : void | ||
DrawPolygon ( float3 vertices, float width, Color color ) : void | ||
DrawRect ( float3 tl, float3 br, float width, Color color ) : void | ||
FillEllipse ( float3 tl, float3 br, Color color, int vertices = 32 ) : void | ||
FillRect ( float3 tl, float3 br, Color color ) : void | ||
FillRect ( float3 a, float3 b, float3 c, float3 d, Color color ) : void | ||
Flush ( ) : void | ||
RgbaColorRenderer ( Renderer renderer, IShader shader ) : System | ||
SetDepthPreviewEnabled ( bool enabled ) : void | ||
SetViewportParams ( |
Méthode | Description | |
---|---|---|
DrawConnectedLine ( float3 points, float width, Color color, bool closed ) : void | ||
DrawDisconnectedLine ( IEnumerable |
||
IntersectionOf ( float3 a, float3 da, float3 b, float3 db ) : float3 |
Calculate the 2D intersection of two lines. Will behave badly if the lines are parallel. Z position is the average of a and b (ignores actual intersection point if it exists)
|
public DrawLine ( IEnumerable |
||
points | IEnumerable |
|
width | float | |
color | Color | |
connectSegments | bool | |
Résultat | void |
public DrawLine ( IEnumerable |
||
points | IEnumerable |
|
width | float | |
color | Color | |
connectSegments | bool | |
Résultat | void |
public DrawLine ( float3 start, float3 end, float width, Color color ) : void | ||
start | float3 | |
end | float3 | |
width | float | |
color | Color | |
Résultat | void |
public DrawLine ( float3 start, float3 end, float width, Color startColor, Color endColor ) : void | ||
start | float3 | |
end | float3 | |
width | float | |
startColor | Color | |
endColor | Color | |
Résultat | void |
public DrawPolygon ( float2 vertices, float width, Color color ) : void | ||
vertices | float2 | |
width | float | |
color | Color | |
Résultat | void |
public DrawPolygon ( float3 vertices, float width, Color color ) : void | ||
vertices | float3 | |
width | float | |
color | Color | |
Résultat | void |
public DrawRect ( float3 tl, float3 br, float width, Color color ) : void | ||
tl | float3 | |
br | float3 | |
width | float | |
color | Color | |
Résultat | void |
public FillEllipse ( float3 tl, float3 br, Color color, int vertices = 32 ) : void | ||
tl | float3 | |
br | float3 | |
color | Color | |
vertices | int | |
Résultat | void |
public FillRect ( float3 tl, float3 br, Color color ) : void | ||
tl | float3 | |
br | float3 | |
color | Color | |
Résultat | void |
public FillRect ( float3 a, float3 b, float3 c, float3 d, Color color ) : void | ||
a | float3 | |
b | float3 | |
c | float3 | |
d | float3 | |
color | Color | |
Résultat | void |
public RgbaColorRenderer ( Renderer renderer, IShader shader ) : System | ||
renderer | Renderer | |
shader | IShader | |
Résultat | System |
public SetDepthPreviewEnabled ( bool enabled ) : void | ||
enabled | bool | |
Résultat | void |
public SetViewportParams ( |
||
screen | ||
depthScale | float | |
depthOffset | float | |
zoom | float | |
scroll | int2 | |
Résultat | void |