docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISelectableElement

    An interface that represents a selectable spline element. A selectable spline element can be a knot or a tangent. ISelectableElement is used by the selection to get information about the spline, the knot, and the positions of the spline elements.

    Inherited Members
    IEquatable<ISelectableElement>.Equals(ISelectableElement)
    Namespace: UnityEditor.Splines
    Assembly: solution.dll
    Syntax
    public interface ISelectableElement : IEquatable<ISelectableElement>

    Properties

    Name Description
    KnotIndex

    The index of the knot in the spline. If the spline element is a tangent, this is the index of the knot that the tangent is attached to.

    LocalPosition

    The position of the spline element in local space.

    Position

    The position of the spline element in world space.

    SplineInfo

    The SplineInfo that describes the spline.

    Methods

    Name Description
    IsValid()

    Checks if the element is valid. For example, checks if the spline is not null and the index is valid.

    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)