docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISplineContainer

    An interface that represents ISplineContainer on a MonoBehaviour to enable Spline tools in the Editor.

    Namespace: UnityEngine.Splines
    Syntax
    public interface ISplineContainer

    Properties

    KnotLinkCollection

    A collection of KnotLinks to maintain valid links between knots.

    Declaration
    KnotLinkCollection KnotLinkCollection { get; }
    Property Value
    Type Description
    KnotLinkCollection

    Splines

    A collection of splines contained in this MonoBehaviour.

    Declaration
    IReadOnlyList<Spline> Splines { get; set; }
    Property Value
    Type Description
    IReadOnlyList<Spline>

    Extension Methods

    SplineUtility.AddSpline<T>(T)
    SplineUtility.AddSpline<T>(T, Spline)
    SplineUtility.RemoveSplineAt<T>(T, Int32)
    SplineUtility.RemoveSpline<T>(T, Spline)
    SplineUtility.ReorderSpline<T>(T, Int32, Int32)
    SplineUtility.SetLinkedKnotPosition<T>(T, SplineKnotIndex)
    SplineUtility.LinkKnots<T>(T, SplineKnotIndex, SplineKnotIndex)
    SplineUtility.UnlinkKnots<T>(T, IReadOnlyList<SplineKnotIndex>)
    SplineUtility.CopyKnotLinks<T>(T, Int32, Int32)
    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