struct UILathePt

A point on a lathe for a mesh generation algorithm. This is the ‘silhouette’ of the mesh, or the shape the mesh would take if you spun this line of points in a cylinder.

Instance Fields and Properties

   
Color32 color Vertex color of the current lathe vertex.
bool connectNext Will there be triangles connecting this lathe point to the next in the list, or is this a jump without triangles?
bool flipFace Should the triangles attaching this point to the next be ordered backwards?
Vec2 normal The lathe normal point, which will be rotated along the surface of the mesh.
Vec2 pt Lathe point ‘location’, where ‘x’ is a percentage of the lathe radius alnong the current surface normal, and Y is the absolute Z axis value.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!