docs.unity.cn
    Show / Hide Table of Contents

    Class SplineHandles.SplineHandleScope

    The scope used to draw a spline. This is managing several purposes when using SplineHandles.DrawSomething(). This ensure selection is working properly, and that hovering an element is highlighting the correct related elements (for instance hovering a tangent highlights the opposite one when needed and the knot as well).

    Inheritance
    Object
    SplineHandles.SplineHandleScope
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Splines
    Syntax
    public class SplineHandleScope : IDisposable

    Constructors

    SplineHandleScope()

    Defines a new scope to draw spline elements in.

    Declaration
    public SplineHandleScope()

    Methods

    Dispose()

    Called automatically when the SplineHandleScope is disposed.

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, August 2, 2023