NodeAttribute
Initializes a new instance of the NodeAttribute class.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Constructor
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
NodeAttribute(string)
Initializes a new instance of the NodeAttribute class.
public NodeAttribute(string categoryPath)
Parameters
The category path of the node in the graph item library.
NodeAttribute(string, string)
Initializes a new instance of the NodeAttribute class.
public NodeAttribute(string categoryPath, string iconPath)
Parameters
NodeAttribute(string, string, string)
Initializes a new instance of the NodeAttribute class.
public NodeAttribute(string categoryPath, string iconPath, string title)
Parameters
NodeAttribute(string, string, string, string)
Initializes a new instance of the NodeAttribute class.
public NodeAttribute(string categoryPath, string iconPath, string title, string stylesheet)
Parameters
The category path of the node in the graph item library.
The file path to the node's icon.
The title of the node in the graph item library. It is also used as the title of this node when it is instantiated in a graph.
Path to a stylesheet (.uss) used to customize the node's VisualElement appearance.