Struct PhysicsDebugStreamSystem.Context
Syntax
Methods
Arc(float2, Single, Single, Single, Color)
Declaration
public void Arc(float2 center, float radius, float startAngle, float endAngle, Color color)
Parameters
| Type |
Name |
Description |
| float2 |
center |
|
| Single |
radius |
|
| Single |
startAngle |
|
| Single |
endAngle |
|
| Color |
color |
|
Begin(Int32)
Declaration
public void Begin(int index)
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Box(float2, float2, Color)
Declaration
public void Box(float2 position, float2 extents, Color color)
Parameters
| Type |
Name |
Description |
| float2 |
position |
|
| float2 |
extents |
|
| Color |
color |
|
Circle(float2, Single, Color)
Declaration
public void Circle(float2 position, float radius, Color color)
Parameters
| Type |
Name |
Description |
| float2 |
position |
|
| Single |
radius |
|
| Color |
color |
|
End()
Declaration
Line(float2, float2, Color)
Declaration
public void Line(float2 v0, float2 v1, Color color)
Parameters
| Type |
Name |
Description |
| float2 |
v0 |
|
| float2 |
v1 |
|
| Color |
color |
|
Point(float2, Single, Color)
Declaration
public void Point(float2 position, float size, Color color)
Parameters
| Type |
Name |
Description |
| float2 |
position |
|
| Single |
size |
|
| Color |
color |
|
Polygon(ConvexHull.ConvexArray.Accessor, Int32, PhysicsTransform, Color)
Declaration
public void Polygon(ConvexHull.ConvexArray.Accessor vertices, int vertexCount, PhysicsTransform physicsTransform, Color color)
Parameters
Text(Char[], float2, Color)
Declaration
public void Text(char[] text, float2 position, Color color)
Parameters
| Type |
Name |
Description |
| Char[] |
text |
|
| float2 |
position |
|
| Color |
color |
|