Related help topics
Outputs | |||||
Material | material |
The material assigned to the mesh on the given slot. | |||
Resource | id |
The resource name or resource id of the material. | |||
Inputs | |||||
mesh | Mesh |
The mesh whose material is retrieved. | |||
id | Slot Name |
The slot holding the desired material. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Resource | string |
The material resource. | |||
Inputs | |||||
string | Resource |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Inputs | |||||
material | Material |
The material whose value you want to set. | |||
string | Flag |
The name of the shader pass flag. | |||
boolean | Enabled |
Use true to enable the shader pass, or false otherwise. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Inputs | |||||
material | Material |
The material whose value you want to set. | |||
string | Variable |
The name of the variable whose value you want to set. | |||
float | Scalar |
The new value to set for the variable, if you want to set a scalar variable. | |||
vector3 | Vector |
The new value to set for the variable, if you want to set a vector variable. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Inputs | |||||
material | Material |
The material whose value you want to set | |||
string | Variable | ||||
float | X |
Set X part of variable. When only X has value then treated as scalar/numeric property. | |||
float | Y |
Set Y part of variable. When Y has value but Z and W do not then treated as vector2 property. | |||
float | Z |
Set Z part of variable. When Z has value but W does not then treated as vector3 property. | |||
float | W |
Set W part of variable. When W has value then treated as vector4 property. | |||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.
Outputs | |||||
Out | event |
This event is triggered when the node finishes its evaluation. | |||
Old Resource | id |
The resource id of the previously assigned material. | |||
Inputs | |||||
unit | Unit | ||||
mesh | Mesh |
The mesh whose material to set. | |||
id | Slot Name |
The slot to hold the desired material. | |||
id | Resource |
The name of the .material resource you want to assign to the slot. If this value is not set the slot is cleared. | |||
boolean | Suppress Warnings | ||||
event | In |
This event triggers the evaluation of this node. |
Available in Unit Flow Editor, Level Flow Editor, and External Flow Editor.