docs.unity3d.com
    Show / Hide Table of Contents

    Enum PathIndexUnit

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

    Namespace: UnityEngine.Splines
    Syntax
    public enum PathIndexUnit : int

    Fields

    Name Description Value
    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
    • Fields
    Back to top
    Terms of use
    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