Curvy  4.1.0
Spline2Mesh Class Reference

Detailed Description

Class to create a Mesh from a set of splines

Public Attributes

List< SplinePolyLineLines = new List<SplinePolyLine>()
 A list of splines (X/Y only) forming the resulting mesh More...
 
string MeshName = string.Empty
 Name of the returned mesh More...
 
bool SuppressUVMapping
 
bool UV2
 Whether UV2 should be set More...
 
Vector2 UVOffset = Vector2.zero
 
Vector2 UVTiling = Vector2.one
 
bool VertexLineOnly
 Whether only vertices of the outline spline should be created More...
 
WindingRule Winding = WindingRule.EvenOdd
 Winding rule used by triangulator More...
 

Properties

string Error [get]
 

Public Member Functions

bool Apply (out Mesh result)
 Create the Mesh using the current settings More...
 

Member Function Documentation

bool Apply ( out Mesh  result)

Create the Mesh using the current settings

Parameters
resultthe resulting Mesh
Returns
true on success. If false, check the Error property!

Member Data Documentation

List<SplinePolyLine> Lines = new List<SplinePolyLine>()

A list of splines (X/Y only) forming the resulting mesh

string MeshName = string.Empty

Name of the returned mesh

bool SuppressUVMapping
bool UV2

Whether UV2 should be set

Vector2 UVOffset = Vector2.zero
Vector2 UVTiling = Vector2.one
bool VertexLineOnly

Whether only vertices of the outline spline should be created

WindingRule Winding = WindingRule.EvenOdd

Winding rule used by triangulator

Property Documentation

string Error
get

The documentation for this class was generated from the following file: