Struct VisualShaderNode
struct VisualShaderNode
;
Properties
Name | Type | Description |
---|---|---|
defaultInputValues [get, set]
|
Array | |
outputPortForPreview [get, set]
|
long | Sets the output port index which will be showed for preview. If set to -1 no port will be open for preview.
|
Methods
Name | Description |
---|---|
getDefaultInputValues
|
Returns an Array containing default values for all of the input ports of the node in the form class="pln">D index0, value0, index1, value1, ... .
|
getInputPortDefaultValue
|
Returns the default value of the input port .
|
getOutputPortForPreview
|
|
setDefaultInputValues
|
Sets the default input ports values using an Array of the form class="pln">D index0, value0, index1, value1, ... . For example: class="pln">D 0, Vector3(0, 0, 0), 1, Vector3(0, 0, 0) .
|
setInputPortDefaultValue
|
Sets the default value for the selected input port .
|
setOutputPortForPreview
|
Enums
Name | Description |
---|---|
Constants
|
|
PortType
|