Class NodeExtensions
Inheritance
System.Object
NodeExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Graphing
Syntax
public static class NodeExtensions
Methods
GetInputSlots<T>(INode)
Declaration
public static IEnumerable<T> GetInputSlots<T>(this INode node)where T : ISlot
Parameters
| Type | Name | Description |
|---|---|---|
| INode | node |
Returns
| Type | Description |
|---|---|
| IEnumerable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
GetOutputSlots<T>(INode)
Declaration
public static IEnumerable<T> GetOutputSlots<T>(this INode node)where T : ISlot
Parameters
| Type | Name | Description |
|---|---|---|
| INode | node |
Returns
| Type | Description |
|---|---|
| IEnumerable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
GetSlots<T>(INode)
Declaration
public static IEnumerable<T> GetSlots<T>(this INode node)where T : ISlot
Parameters
| Type | Name | Description |
|---|---|---|
| INode | node |
Returns
| Type | Description |
|---|---|
| IEnumerable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |