docs.unity.cn
    Show / Hide Table of Contents

    Enum SplineType

    Describes the different supported Spline representations.

    Namespace: UnityEngine.Splines
    Syntax
    public enum SplineType : byte
    Remarks

    Internally all Spline objects are saved as series of cubic curves. In the editor Splines can be manipulated in a lower order form.

    Fields

    Name Description Value
    Bezier

    A series of connected cubic bezier curves. This is the default Spline type.

    CatmullRom

    Catmull-Rom Spline is a type of Cubic Hermite Spline. Tangents are calculated from control points rather than discretely defined. See https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Catmull%E2%80%93Rom_spline for more information.

    Linear

    A series of connected straight line segments.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, April 4, 2022
    Terms of use