Class Spline2Mesh
- Namespace
- FluffyUnderware.Curvy.Utils
Class to create a Mesh from a set of splines
public class Spline2Mesh
- Inheritance
-
Spline2Mesh
Fields
Lines
A list of splines (X/Y only) forming the resulting mesh
public List<SplinePolyLine> Lines
Field Value
MeshName
Name of the returned mesh
public string MeshName
Field Value
SuppressUVMapping
public bool SuppressUVMapping
Field Value
UV2
Whether UV2 should be set
public bool UV2
Field Value
UVOffset
public Vector2 UVOffset
Field Value
- Vector2
UVTiling
public Vector2 UVTiling
Field Value
- Vector2
VertexLineOnly
Whether only vertices of the outline spline should be created
public bool VertexLineOnly
Field Value
Winding
Winding rule used by triangulator
public WindingRule Winding
Field Value
- WindingRule
Properties
Error
public string Error { get; }
Property Value
Methods
Apply(out Mesh)
Create the Mesh using the current settings
public bool Apply(out Mesh result)
Parameters
resultMeshthe resulting Mesh
Returns
- bool
true on success. If false, check the Error property!