VectorUtils.TessellationOptions
Structure to store the tessellation options.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Struct
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public struct VectorUtils.TessellationOptions
Properties
Property | Description |
|---|---|
| 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. |
| 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. |
| SamplingStepSize | The number of samples used internally to evaluate the curves. More samples = higher quality. Should be between 0 and 1 (inclusive). |
| StepDistance | The uniform tessellation step distance. |