Struct VectorUtils.TessellationOptions
Structure to store the tessellation options.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.VectorGraphics
Syntax
public struct 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 |
---|---|
System.Single |
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 |
---|---|
System.Single |
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 |
---|---|
System.Single |
StepDistance
The uniform tessellation step distance.
Declaration
public float StepDistance { get; set; }
Property Value
Type | Description |
---|---|
System.Single |