docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum PathIndexUnit

    Describes the unit of measurement used by DataPoint<TDataType>.

    Namespace: UnityEngine.Splines
    Assembly: solution.dll
    Syntax
    public enum PathIndexUnit

    Fields

    Name Description
    Distance

    The 't' value used when interpolating is measured in game units. Values range from 0 (start of Spline) to GetLength() (end of Spline).

    Knot

    The 't' value used when interpolating is defined by knot indices and a fractional value representing the normalized interpolation between the specific knot index and the next knot.

    Normalized

    The 't' value used when interpolating is normalized. Values range from 0 (start of Spline) to 1 (end of Spline).

    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)