docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DistanceToInterpolation

    A key-value pair associating a distance to interpolation ratio ('t') value. This is used when evaluating Spline attributes to ensure uniform distribution of sampling points.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct DistanceToInterpolation

    Fields

    Name Description
    Distance

    Distance in Unity units.

    T

    A normalized interpolation ratio ('t').

    See Also

    CalculateCurveLengths(BezierCurve, DistanceToInterpolation[])
    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)