Table of Contents

Class MetaCGOptions

Curvy Generator options Metadata class

public class MetaCGOptions : CurvyMetadataBase
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
MetaCGOptions
Inherited Members

Properties

CorrectedHardEdge

HardEdge is ignored for first and last CPs of an open spline. This method takes that into consideration. In opposition, HardEdge is the raw serialized value.

public bool CorrectedHardEdge { get; }

Property Value

bool

CorrectedUVEdge

UVEdge is ignored for first and last CPs of an open spline. This method takes that into consideration. In opposition, UVEdge is the raw serialized value.

public bool CorrectedUVEdge { get; }

Property Value

bool

ExplicitU

Gets or sets whether to define explicit U values

public bool ExplicitU { get; set; }

Property Value

bool

FirstU

Gets or sets UV0

public float FirstU { get; set; }

Property Value

float

HardEdge

Gets or sets whether to create a hard edge or not This is the raw serialized value. In opposition, CorrectedHardEdge takes other considerations into account

public bool HardEdge { get; set; }

Property Value

bool

HasDifferentMaterial

public bool HasDifferentMaterial { get; }

Property Value

bool

MaterialID

Gets or sets Material ID

public int MaterialID { get; set; }

Property Value

int

MaxStepDistance

Gets or sets maximum vertex distance when using optimization (0=infinite)

public float MaxStepDistance { get; set; }

Property Value

float

SecondU

Gets or sets UV0

public float SecondU { get; set; }

Property Value

float

UVEdge

Gets or sets whether to create an UV edge or not This is the raw serialized value. In opposition, CorrectedUVEdge takes other considerations into account

public bool UVEdge { get; set; }

Property Value

bool

Methods

GetDefinedFirstU(float)

public float GetDefinedFirstU(float defaultValue)

Parameters

defaultValue float

Returns

float

GetDefinedSecondU(float)

public float GetDefinedSecondU(float defaultValue)

Parameters

defaultValue float

Returns

float

ResetProperties()

public void ResetProperties()