Class VFXFieldMouseDragger<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class VFXFieldMouseDragger<T>

    Inheritance
    System.Object
    VFXFieldMouseDragger<T>
    Namespace: UnityEditor.VFX.UIElements
    Syntax
    public class VFXFieldMouseDragger<T>
    Type Parameters
    Name Description
    T

    Constructors

    VFXFieldMouseDragger(IValueField<T>, Action)

    Declaration
    public VFXFieldMouseDragger(IValueField<T> drivenField, Action onDragFinished = null)
    Parameters
    Type Name Description
    IValueField<T> drivenField
    System.Action onDragFinished

    Fields

    dragging

    Declaration
    public bool dragging
    Field Value
    Type Description
    System.Boolean

    startValue

    Declaration
    public T startValue
    Field Value
    Type Description
    T

    Methods

    SetDragZone(VisualElement)

    Declaration
    public void SetDragZone(VisualElement dragElement)
    Parameters
    Type Name Description
    VisualElement dragElement

    SetDragZone(VisualElement, Rect)

    Declaration
    public void SetDragZone(VisualElement dragElement, Rect hotZone)
    Parameters
    Type Name Description
    VisualElement dragElement
    Rect hotZone
    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