Property | Type | Description | |
---|---|---|---|
VERTICES_TOLERANCE | System.Double |
Method | Description | |
---|---|---|
CreateColor3Array ( |
Creates the array of colors.
|
|
CreateColor3Array ( int count ) : Shapes.Colors.ScalarColor3[] | ||
CreateColoredCircle ( System.Double radius, ushort vertexCount ) : Physics2DDotNet.Shapes.CircleShape | ||
CreatePolygonShape ( |
||
GetOrCreateColoredPolygonShape ( Vector2D vertices, System.Double gridSpacing ) : IShape |
public static CreateColor3Array ( |
||
first | The color of first item in array | |
rest | Color of all array items except first one | |
count | int | The length of array |
return | Shapes.Colors.ScalarColor3[] |
public static CreateColor3Array ( int count ) : Shapes.Colors.ScalarColor3[] | ||
count | int | |
return | Shapes.Colors.ScalarColor3[] |
public static CreateColoredCircle ( System.Double radius, ushort vertexCount ) : Physics2DDotNet.Shapes.CircleShape | ||
radius | System.Double | |
vertexCount | ushort | |
return | Physics2DDotNet.Shapes.CircleShape |
public static CreatePolygonShape ( |
||
polygon | ||
gridSpacing | System.Double | |
return | Physics2DDotNet.Shapes.PolygonShape |
public static GetOrCreateColoredPolygonShape ( Vector2D vertices, System.Double gridSpacing ) : IShape | ||
vertices | Vector2D | |
gridSpacing | System.Double | |
return | IShape |