Class PortInputView | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PortInputView

    Inheritance
    System.Object
    PortInputView
    Namespace: UnityEditor.ShaderGraph.Drawing
    Syntax
    public class PortInputView : GraphElement, IDisposable

    Constructors

    PortInputView(MaterialSlot)

    Declaration
    public PortInputView(MaterialSlot slot)
    Parameters
    Type Name Description
    MaterialSlot slot

    Properties

    edgeColor

    Declaration
    public Color edgeColor { get; }
    Property Value
    Type Description
    Color

    slot

    Declaration
    public MaterialSlot slot { get; }
    Property Value
    Type Description
    MaterialSlot

    Methods

    Dispose()

    Declaration
    public void Dispose()

    OnStyleResolved(ICustomStyle)

    Declaration
    protected override void OnStyleResolved(ICustomStyle styles)
    Parameters
    Type Name Description
    ICustomStyle styles

    UpdateSlot(MaterialSlot)

    Declaration
    public void UpdateSlot(MaterialSlot newSlot)
    Parameters
    Type Name Description
    MaterialSlot newSlot

    UpdateSlotType()

    Declaration
    public void UpdateSlotType()
    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