docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SplineSlice

    SplineSlice(T, SplineRange)

    Constructor for a new SplineSlice.

    Declaration
    public SplineSlice(T spline, SplineRange range)
    Parameters
    Type Name Description
    T spline

    The Spline that this Slice will read BezierKnot and BezierCurve data from.

    SplineRange range

    The start index and count of knot indices that compose this slice.

    SplineSlice(T, SplineRange, float4x4)

    Constructor for a new SplineSlice.

    Declaration
    public SplineSlice(T spline, SplineRange range, float4x4 transform)
    Parameters
    Type Name Description
    T spline

    The Spline that this Slice will read BezierKnot and BezierCurve data from.

    SplineRange range

    The start index and count of knot indices that compose this slice.

    float4x4 transform

    A transform matrix to be applied to the spline knots and tangents.

    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)