Table of Contents

Class Spline2Mesh

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

List<SplinePolyLine>

MeshName

Name of the returned mesh

public string MeshName

Field Value

string

SuppressUVMapping

public bool SuppressUVMapping

Field Value

bool

UV2

Whether UV2 should be set

public bool UV2

Field Value

bool

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

bool

Winding

Winding rule used by triangulator

public WindingRule Winding

Field Value

WindingRule

Properties

Error

public string Error { get; }

Property Value

string

Methods

Apply(out Mesh)

Create the Mesh using the current settings

public bool Apply(out Mesh result)

Parameters

result Mesh

the resulting Mesh

Returns

bool

true on success. If false, check the Error property!