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

    Class VFXControl<T>

    Inheritance
    System.Object
    VFXControl<T>
    Namespace: UnityEditor.VFX.UIElements
    Syntax
    public abstract class VFXControl<T> : VisualElement, INotifyValueChanged<T>
    Type Parameters
    Name Description
    T

    Properties

    indeterminate

    Declaration
    public abstract bool indeterminate { get; set; }
    Property Value
    Type Description
    System.Boolean

    value

    Declaration
    public T value { get; set; }
    Property Value
    Type Description
    T

    Methods

    ForceUpdate()

    Declaration
    public void ForceUpdate()

    OnValueChanged(EventCallback<ChangeEvent<T>>)

    Declaration
    public void OnValueChanged(EventCallback<ChangeEvent<T>> callback)
    Parameters
    Type Name Description
    EventCallback<ChangeEvent<T>> callback

    RemoveOnValueChanged(EventCallback<ChangeEvent<T>>)

    Declaration
    public void RemoveOnValueChanged(EventCallback<ChangeEvent<T>> callback)
    Parameters
    Type Name Description
    EventCallback<ChangeEvent<T>> callback

    SetValueAndNotify(T)

    Declaration
    public void SetValueAndNotify(T newValue)
    Parameters
    Type Name Description
    T newValue

    SetValueWithoutNotify(T)

    Declaration
    public void SetValueWithoutNotify(T newValue)
    Parameters
    Type Name Description
    T newValue

    ValueToGUI(Boolean)

    Declaration
    protected abstract void ValueToGUI(bool force)
    Parameters
    Type Name Description
    System.Boolean force
    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