Class BaseStateModel | Compositor | 0.6.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseStateModel

    Inheritance
    Object
    NodeModel
    BaseStateModel
    GraphStateModel
    StateMachineStateModel
    Inherited Members
    NodeModel.m_InputConstantsValues
    NodeModel.OnConnection(IPortModel, IPortModel)
    NodeModel.OnDisconnection(IPortModel, IPortModel)
    NodeModel.PostGraphLoad()
    NodeModel.OnPreDefineNode()
    NodeModel.DefineNode()
    NodeModel.OnEnable()
    NodeModel.MigratePorts()
    NodeModel.UndoRedoPerformed()
    NodeModel.GetId()
    NodeModel.AssignNewGuid()
    NodeModel.Move(Vector2)
    NodeModel.ChangeColor(Color)
    NodeModel.MakePortForNode(Direction, String, PortType, TypeHandle, String, PortModel.PortModelOptions, Object)
    NodeModel.AddDataInputPort<TDataType>(String, String, PortModel.PortModelOptions, TDataType)
    NodeModel.AddDataInputPort(String, TypeHandle, String, PortModel.PortModelOptions, Action<ConstantNodeModel>)
    NodeModel.AddDataOutputPort<TDataType>(String, String)
    NodeModel.AddDataOutputPort(String, TypeHandle, String)
    NodeModel.AddInstanceInput<TDataType>(String, String)
    NodeModel.AddInstanceInput(TypeHandle, String, String)
    NodeModel.AddExecutionInputPort(String, String)
    NodeModel.AddExecutionOutputPort(String, String)
    NodeModel.AddLoopOutputPort(String, String)
    NodeModel.AddInputPort(String, PortType, TypeHandle, String, PortModel.PortModelOptions, Action<ConstantNodeModel>, Object)
    NodeModel.AddOutputPort(String, PortType, TypeHandle, String, PortModel.PortModelOptions, Object)
    NodeModel.DeleteInputPort(PortModel)
    NodeModel.DeleteOutputPort(PortModel)
    NodeModel.DeletePort(IPortModel, Boolean)
    NodeModel.Destroy()
    NodeModel.OnBeforeSerialize()
    NodeModel.OnAfterDeserialize()
    NodeModel.Guid
    NodeModel.Stencil
    NodeModel.IconTypeString
    NodeModel.DataTypeString
    NodeModel.VariableString
    NodeModel.Capabilities
    NodeModel.SerializableAsset
    NodeModel.AssetModel
    NodeModel.GraphModel
    NodeModel.State
    NodeModel.ParentStackModel
    NodeModel.Title
    NodeModel.Position
    NodeModel.IsCondition
    NodeModel.IsInsertLoop
    NodeModel.LoopConnectionType
    NodeModel.IsBranchType
    NodeModel.Color
    NodeModel.InputsById
    NodeModel.OutputsById
    NodeModel.InputConstantsById
    NodeModel.IsStacked
    NodeModel.InputsByDisplayOrder
    NodeModel.OutputsByDisplayOrder
    NodeModel.InputPortModels
    NodeModel.OutputPortModels
    NodeModel.HasUserColor
    NodeModel.OriginalInstanceId
    NodeModel.HasProgress
    NodeModel.Destroyed
    NodeModel.ToolTip
    Namespace: Unity.Compositor.Model
    Syntax
    [Serializable]
    public class BaseStateModel : NodeModel, INodeModel, IGraphElementModelWithGuid, IUndoRedoAware, ISerializationCallbackReceiver, IRenamableModel, IGraphElementModel, ICapabilitiesModel

    Fields

    k_CurrentFormatVersion

    Declaration
    public static BaseStateModel.FormatVersion k_CurrentFormatVersion
    Field Value
    Type Description
    BaseStateModel.FormatVersion

    SelfTransitions

    Declaration
    [SerializeReference]
    public List<ITransitionPropertiesModel> SelfTransitions
    Field Value
    Type Description
    List<ITransitionPropertiesModel>

    StateDefinitionAsset

    Declaration
    [SerializeField]
    public CompositorAsset StateDefinitionAsset
    Field Value
    Type Description
    CompositorAsset

    StateDefinitionFormatVersion

    Declaration
    [SerializeField]
    public int StateDefinitionFormatVersion
    Field Value
    Type Description
    Int32

    Properties

    graphAsset

    Declaration
    public VSGraphAssetModel graphAsset { get; set; }
    Property Value
    Type Description
    VSGraphAssetModel

    HasStateDefinitionAssetBeenCreated

    Declaration
    public bool HasStateDefinitionAssetBeenCreated { get; }
    Property Value
    Type Description
    Boolean

    InputStatePort

    Declaration
    public PortModel InputStatePort { get; }
    Property Value
    Type Description
    PortModel

    OutputStatePort

    Declaration
    public PortModel OutputStatePort { get; }
    Property Value
    Type Description
    PortModel

    Methods

    CreateDefinitionAsset()

    Declaration
    public void CreateDefinitionAsset()

    GetPortCapacity(PortModel)

    Declaration
    public override Port.Capacity GetPortCapacity(PortModel portModel)
    Parameters
    Type Name Description
    PortModel portModel
    Returns
    Type Description
    Port.Capacity
    Overrides
    NodeModel.GetPortCapacity(PortModel)

    OnDefineNode()

    Declaration
    protected override void OnDefineNode()
    Overrides
    NodeModel.OnDefineNode()

    Rename(String)

    Declaration
    public void Rename(string newName)
    Parameters
    Type Name Description
    String newName
    Implements
    IRenamableModel.Rename(String)
    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