docs.unity3d.com
    Show / Hide Table of Contents

    Class LoraOperator

    Inheritance
    Object
    LoraOperator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Muse.Common
    Syntax
    [Serializable]
    public class LoraOperator : IOperator

    Constructors

    LoraOperator()

    Declaration
    public LoraOperator()

    Properties

    Label

    Human-readable label for the operator.

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    String
    Implements
    IOperator.Label

    OperatorName

    Declaration
    public string OperatorName { get; }
    Property Value
    Type Description
    String
    Implements
    IOperator.OperatorName

    Methods

    Clone()

    Declaration
    public IOperator Clone()
    Returns
    Type Description
    IOperator
    Implements
    IOperator.Clone()

    Enable(Boolean)

    Declaration
    public void Enable(bool enable)
    Parameters
    Type Name Description
    Boolean enable
    Implements
    IOperator.Enable(Boolean)

    Enabled()

    Declaration
    public bool Enabled()
    Returns
    Type Description
    Boolean
    Implements
    IOperator.Enabled()

    GetCanvasView()

    Declaration
    public VisualElement GetCanvasView()
    Returns
    Type Description
    VisualElement
    Implements
    IOperator.GetCanvasView()

    GetOperatorData()

    Declaration
    public OperatorData GetOperatorData()
    Returns
    Type Description
    OperatorData
    Implements
    IOperator.GetOperatorData()

    GetOperatorView(Model)

    Declaration
    public VisualElement GetOperatorView(Model model)
    Parameters
    Type Name Description
    Model model
    Returns
    Type Description
    VisualElement
    Implements
    IOperator.GetOperatorView(Model)

    GetSettingsView()

    Get the settings view for this operator.

    Declaration
    public VisualElement GetSettingsView()
    Returns
    Type Description
    VisualElement

    UI for the operator. Set to Null if the operator should not be displayed in the settings view. Disable the returned VisualElement if you want it to be displayed but not usable.

    Implements
    IOperator.GetSettingsView()

    IsSavable()

    Declaration
    public bool IsSavable()
    Returns
    Type Description
    Boolean
    Implements
    IOperator.IsSavable()

    RegisterToEvents(Model)

    Declaration
    public void RegisterToEvents(Model model)
    Parameters
    Type Name Description
    Model model
    Implements
    IOperator.RegisterToEvents(Model)

    SetLoraGuid(String)

    Declaration
    public void SetLoraGuid(string guid)
    Parameters
    Type Name Description
    String guid

    SetOperatorData(OperatorData)

    Declaration
    public void SetOperatorData(OperatorData data)
    Parameters
    Type Name Description
    OperatorData data
    Implements
    IOperator.SetOperatorData(OperatorData)

    UnregisterFromEvents(Model)

    Declaration
    public void UnregisterFromEvents(Model model)
    Parameters
    Type Name Description
    Model model
    Implements
    IOperator.UnregisterFromEvents(Model)
    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