docs.unity.cn
    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
    Generated by DocFX
    on Thursday, April 27, 2023