docs.unity3d.com
    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
    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.

    0
    Bezier

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

    1
    Linear

    A series of connected straight line segments.

    2
    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