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

    Class BaseStateModel

    Inheritance
    Object
    BaseStateModel
    GraphStateModel
    StateMachineStateModel
    Namespace: Unity.Compositor.Model
    Syntax
    [Serializable]
    public class BaseStateModel : GraphViewModel.NodeModel, IRenamableModel

    Fields

    k_CurrentFormatVersion

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

    SelfTransitions

    Declaration
    public List<ITransitionPropertiesModel> SelfTransitions
    Field Value
    Type Description
    List<ITransitionPropertiesModel>

    StateDefinitionAsset

    Declaration
    public CompositorAsset StateDefinitionAsset
    Field Value
    Type Description
    CompositorAsset

    StateDefinitionFormatVersion

    Declaration
    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 Experimental.GraphView.Port.Capacity GetPortCapacity(PortModel portModel)
    Parameters
    Type Name Description
    PortModel portModel
    Returns
    Type Description
    Experimental.GraphView.Port.Capacity

    OnDefineNode()

    Declaration
    protected override void OnDefineNode()

    Rename(String)

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