Class NodeEvent | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class NodeEvent

    Inheritance
    Object
    NodeEvent
    Namespace: UnityEngine.AssetGraph
    Syntax
    public class NodeEvent

    Constructors

    NodeEvent(NodeEvent.EventType)

    Declaration
    public NodeEvent(NodeEvent.EventType type)
    Parameters
    Type Name Description
    NodeEvent.EventType type

    NodeEvent(NodeEvent.EventType, String)

    Declaration
    public NodeEvent(NodeEvent.EventType type, string message)
    Parameters
    Type Name Description
    NodeEvent.EventType type
    String message

    NodeEvent(NodeEvent.EventType, NodeGUI)

    Declaration
    public NodeEvent(NodeEvent.EventType type, NodeGUI node)
    Parameters
    Type Name Description
    NodeEvent.EventType type
    NodeGUI node

    NodeEvent(NodeEvent.EventType, NodeGUI, Vector2, ConnectionPointData)

    Declaration
    public NodeEvent(NodeEvent.EventType type, NodeGUI node, Vector2 localMousePos, ConnectionPointData point)
    Parameters
    Type Name Description
    NodeEvent.EventType type
    NodeGUI node
    Vector2 localMousePos
    ConnectionPointData point

    Fields

    eventSourceNode

    Declaration
    public readonly NodeGUI eventSourceNode
    Field Value
    Type Description
    NodeGUI

    eventType

    Declaration
    public readonly NodeEvent.EventType eventType
    Field Value
    Type Description
    NodeEvent.EventType

    globalMousePosition

    Declaration
    public readonly Vector2 globalMousePosition
    Field Value
    Type Description
    Vector2

    message

    Declaration
    public readonly string message
    Field Value
    Type Description
    String

    point

    Declaration
    public readonly ConnectionPointData point
    Field Value
    Type Description
    ConnectionPointData

    position

    Declaration
    public readonly Vector2 position
    Field Value
    Type Description
    Vector2
    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