Struct VectorUtils.TessellationOptions
Structure to store the tessellation options.
Inherited Members
Namespace: Unity.VectorGraphics
Assembly: Unity.VectorGraphics.dll
Syntax
public struct VectorUtils.TessellationOptions
Properties
MaxCordDeviation
The maximum distance on the cord to a straight line between to points after which more tessellation will be generated. To disable, specify float.MaxValue.
Declaration
public float MaxCordDeviation { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxTanAngleDeviation
The maximum angle (in degrees) between the curve tangent and the next point after which more tessellation will be generated. To disable, specify float.MaxValue.
Declaration
public float MaxTanAngleDeviation { get; set; }
Property Value
Type | Description |
---|---|
float |
SamplingStepSize
The number of samples used internally to evaluate the curves. More samples = higher quality. Should be between 0 and 1 (inclusive).
Declaration
public float SamplingStepSize { get; set; }
Property Value
Type | Description |
---|---|
float |
StepDistance
The uniform tessellation step distance.
Declaration
public float StepDistance { readonly get; set; }
Property Value
Type | Description |
---|---|
float |