This is a 2D Asset Creator which can generate Textures from Farseer Assets. This has been taken and slightly modified from the Farseer Test Bed.
More...
|
enum | MaterialType {
Blank
, Dots
, Squares
, Waves
,
Pavement
} |
|
|
static Vector2 | CalculateOrigin (Body b) |
|
static Texture2D | TextureFromShape (Shape shape, MaterialType type, Color color, float materialScale) |
|
static Texture2D | TextureFromVertices (Vertices vertices, MaterialType type, Color color, float materialScale) |
|
static Texture2D | TextureFromVertices (Vertices vertices, MaterialType type, Color color, float materialScale, Color EdgeColor) |
|
static Texture2D | CircleTexture (float radius, MaterialType type, Color color, float materialScale) |
|
static Texture2D | EllipseTexture (float radiusX, float radiusY, MaterialType type, Color color, float materialScale) |
|
This is a 2D Asset Creator which can generate Textures from Farseer Assets. This has been taken and slightly modified from the Farseer Test Bed.
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Content/vxAssetCreator2D.cs