|
static Mesh | CreateMesh ((Vector3[] vertices, int[] triangles) meshValues) |
|
static Vector3[] | GetCirclePoints (float circleRadius, int pointCount) |
|
static Vector3[] | GetCirclePoints (float circleRadius, int pointCount, Vector3 offset) |
|
static Vector3[] int[] triangles | CreatePlane (Vector3[] vertices, bool invert=false) |
|
static Vector3[] int[] triangles | CreatePrism ((Vector3[] vertices, int[] triangles) top,(Vector3[] vertices, int[] triangles) bottom, int[] boundary_top, int[] boundary_bottom) |
|
|
static Vector3[] | vertices |
| Creates triangles for a set of vertecies of a flat, convex shape More...
|
|
◆ Awake()
void ShapeGenerator.Awake |
( |
| ) |
|
|
private |
◆ CreateMesh()
static Mesh ShapeGenerator.CreateMesh |
( |
(Vector3[] vertices, int[] triangles) |
meshValues | ) |
|
|
staticprotected |
◆ CreatePlane()
static Vector3[] int[] triangles ShapeGenerator.CreatePlane |
( |
Vector3[] |
vertices, |
|
|
bool |
invert = false |
|
) |
| |
|
staticprotected |
◆ CreatePrism()
static Vector3[] int[] triangles ShapeGenerator.CreatePrism |
( |
(Vector3[] vertices, int[] triangles) |
top, |
|
|
(Vector3[] vertices, int[] triangles) |
bottom, |
|
|
int[] |
boundary_top, |
|
|
int[] |
boundary_bottom |
|
) |
| |
|
staticprotected |
◆ GenerateShapeForAll()
void ShapeGenerator.GenerateShapeForAll |
( |
| ) |
|
|
protected |
◆ GenerateTopology()
abstract Vector3[] int[] triangles ShapeGenerator.GenerateTopology |
( |
| ) |
|
|
protected |
◆ GetCirclePoints() [1/2]
static Vector3[] ShapeGenerator.GetCirclePoints |
( |
float |
circleRadius, |
|
|
int |
pointCount |
|
) |
| |
|
staticprotected |
◆ GetCirclePoints() [2/2]
static Vector3[] ShapeGenerator.GetCirclePoints |
( |
float |
circleRadius, |
|
|
int |
pointCount, |
|
|
Vector3 |
offset |
|
) |
| |
|
staticprotected |
◆ GetUnweightedNormals()
static Vector3[] ShapeGenerator.GetUnweightedNormals |
( |
Mesh |
mesh | ) |
|
|
static |
◆ AlternateNormals
bool ShapeGenerator.AlternateNormals = false |
◆ Meshs
List<MeshFilter> ShapeGenerator.Meshs |
◆ NormalOffset
List<float> ShapeGenerator.NormalOffset |
◆ vertices [1/2]
abstract Vector3 [] ShapeGenerator.vertices |
|
protected |
◆ vertices [2/2]
Vector3 [] ShapeGenerator.vertices |
|
staticprotected |
Creates triangles for a set of vertecies of a flat, convex shape
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/MeshGenerator/ShapeGenerator.cs