Struct VectorUtils.TessellationOptions | Vector Graphics | 1.0.0-preview.34
docs.unity3d.com
    Show / Hide Table of Contents

    Struct VectorUtils.TessellationOptions

    Structure to store the tessellation options.

    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
    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
    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
    Single

    StepDistance

    The uniform tessellation step distance.

    Declaration
    public float StepDistance { get; set; }
    Property Value
    Type Description
    Single
    In This Article
    • Properties
      • MaxCordDeviation
      • MaxTanAngleDeviation
      • SamplingStepSize
      • StepDistance
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023