docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Model

    Inheritance
    object
    Object
    ScriptableObject
    Model
    Implements
    IContext
    IEquatable<Model>
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Muse.Common
    Assembly: solution.dll
    Syntax
    [Serializable]
    [Icon("Packages/com.unity.muse.common/Editor/Resources/Icons/MuseAssetIcon.png")]
    public class Model : ScriptableObject, IContext, IEquatable<Model>

    Fields

    Name Description
    guid

    Properties

    Name Description
    ActiveTool
    AssetsData
    CurrentMode
    CurrentOperators

    Get the list of operators currently being used

    DraggedArtifacts
    RefinedArtifact

    The artifact currently being refined.

    SelectedArtifact
    isRefineMode

    Methods

    Name Description
    AddAsset(Artifact)
    ArtifactSelected(Artifact, bool)

    Sets the selected artifact.

    Branch(Artifact)

    Branch off the given artifact and add it to the generations list as a new generations.

    CanvasRefineArtifact(Artifact)
    DeleteData<T>()
    DeselectAll()
    Dispose()
    DragEnd()
    DragEnd(IEnumerable<Artifact>)
    DragStart(IEnumerable<Artifact>)
    DropItems(IEnumerable<Artifact>, Vector3)
    EditorStartDrag(string, IList<Artifact>)
    EditorStartMultiDrag(IList<(string name, IList<Artifact> artifacts)>)
    Equals(object)

    Determines whether the specified object is equal to the current object.

    Equals(Model)

    Indicates whether the current object is equal to another object of the same type.

    ExportArtifact(Artifact)
    FinishRefineArtifact()
    GenerateButtonClicked()
    GetData<T>()
    GetHashCode()

    Serves as the default hash function.

    Initialize()
    LoggedInStateChanged(bool)
    MaskPaintDone(Texture2D)
    ModeChanged(int)
    MultiExport(IList<ArtifactView>)
    RefineArtifact(Artifact)
    RemoveAssets(params Artifact[])

    Remove give artifacts from this model.

    RemoveOperators(params IOperator[])

    Remove operators in the nodes list.

    RequestFrameArtifact(Artifact)
    SetActiveTool(ICanvasTool)
    SetAsThumbnail(Artifact, int?)

    Set the thumbnail of the generations list to the given artifact.

    SetCurrentPrompt(string)
    SetMaskSeamless(bool)
    SetReferenceOperator(Artifact)
    UpdateOperators(IEnumerable<IOperator>, bool)

    Set or replace operators in the nodes list.

    UpdateOperators(params IOperator[])

    Set or replace operators in the nodes list.

    UpdateToolState()

    Force updating the available tools state

    Events

    Name Description
    OnActiveToolChanged
    OnArtifactAdded
    OnArtifactRemoved
    OnArtifactSelected
    OnCanvasRefineArtifact
    OnCurrentPromptChanged
    OnDeselectAll
    OnDispose
    OnEditorDragStart
    OnEditorMultiDragStart
    OnExportArtifact
    OnFinishRefineArtifact
    OnFrameArtifactRequested
    OnGenerateButtonClicked
    OnItemsDropped
    OnLoggedInStateChanged
    OnMaskPaintDone
    OnModeChanged
    OnModified

    Event raised when the model was modified.

    OnMultiExport
    OnOperatorRemoved

    Called when removing an operator

    OnOperatorUpdated
    OnRefineArtifact
    OnSetMaskSeamless
    OnSetReferenceOperator
    OnUpdateToolState

    Operators

    Name Description
    operator ==(Model, Model)
    operator !=(Model, Model)

    Extension Methods

    ObjectHelper.SafeDestroy(Object)
    In This Article
    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