Struct VectorUtils.TessellationOptions | Vector Graphics | 1.0.0-preview.34
docs.unity.cn
    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX