Property | Type | Description | |
---|---|---|---|
body | Node, | ||
connection | NodeOutput, | ||
nodeID | string | ||
rect | Rect | ||
type | IOtype |
Method | Description | |
---|---|---|
Create ( Node, NodeBody, string InputName, IOtype type ) : NodeInput, |
Creates a new NodeInput in NodeBody of specified type
|
|
Create ( string InputName, IOtype type ) : NodeInput, | ||
DisplayLayout ( ) : void |
Function to automatically draw and update the input with a label for it's name
|
|
DisplayLayout ( GUIContent content ) : void |
Function to automatically draw and update the input
|
|
GetKnob ( ) : Rect |
Get the rect of the knob right to the output
|
|
OnSave ( ) : void | ||
SetRect ( Rect labelRect ) : void |
Set the input rect as labelrect in global canvas space and extend it to the left node edge
|
public static Create ( Node, NodeBody, string InputName, IOtype type ) : NodeInput, | ||
NodeBody | Node, | |
InputName | string | |
type | IOtype | |
return | NodeInput, |
public static Create ( string InputName, IOtype type ) : NodeInput, | ||
InputName | string | |
type | IOtype | |
return | NodeInput, |
public DisplayLayout ( GUIContent content ) : void | ||
content | GUIContent | |
return | void |