VectorUtils.TessellationOptions
Structure to store the tessellation options.
阅读时间1 分钟最后更新于 1 个月前
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. |