docs.unity3d.com
    Show / Hide Table of Contents

    Enum SliceDirection

    Describes the direction that a SplineRange interpolates. Use SplineSlice<T> and SplineRange to create paths that interpolate along a Spline in either a forward or backward direction.

    Namespace: UnityEngine.Splines
    Syntax
    public enum SliceDirection

    Fields

    Name Description Value
    Forward

    The SplineSlice<T> interpolates along the direction of the referenced spline.


    0
    Backward

    The SplineSlice<T> interpolates in the reverse direction of the referenced spline.


    1
    See Also
    SplineSlice<T>
    SplineRange
    Back to top
    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