docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VectorUtils.TessellationOptions

    Structure to store the tessellation options.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)