|
static Vector3[] | GetUnweightedNormals (Mesh mesh) |
|
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) |
|
abstract Vector3[] | vertices |
|
static Vector3[] | vertices |
| Creates triangles for a set of vertecies of a flat, convex shape More...
|
|
◆ CreateTorus()
static Vector3[] int[] triangles TorusGenerator.CreateTorus |
( |
float |
torusRadius, |
|
|
float |
ringRadius, |
|
|
int |
ringSegmentCount, |
|
|
int |
segmentSideCount |
|
) |
| |
|
staticprivate |
◆ GetPointOnTorus()
static Vector3 TorusGenerator.GetPointOnTorus |
( |
float |
torusRadius, |
|
|
float |
ringRadius, |
|
|
float |
u, |
|
|
float |
v |
|
) |
| |
|
staticprivate |
◆ override()
TorusGenerator.override |
( |
Vector3[] |
vertices, |
|
|
int[] |
triangles |
|
) |
| |
|
protected |
◆ ringRadius
float TorusGenerator.ringRadius = 0.1f |
◆ ringSegmentCount
int TorusGenerator.ringSegmentCount = 50 |
◆ segmentSideCount
int TorusGenerator.segmentSideCount = 30 |
◆ torusRadius
float TorusGenerator.torusRadius = 1f |
◆ vertices
Vector3 [] TorusGenerator.vertices |
|
staticprivate |
The documentation for this class was generated from the following file:
- D:/Users/marco/Dokuments/OneDrive/FAU/Informatik/!UFrameIT/FrameIT/MaZiFAU/Assets/Scripts/MeshGenerator/TorusGenerator.cs