Visual material node can can store and change the materials of objects during gameplay. This ensures that visual materials don't change e.g. between game levels in World map games.
This node is basically a variable that stores a visual material.
Execute | Executes the node |
↳ On Start | Executes the node at the start of the game |
Enabled | Enable or disable the node. Disabled nodes cannot be executed |
Material | Set the stored material manually or with an input link from an another node |
Output | Sends the stored visual material |
If you need to read a visual material from an object before storing it, use the Value Inspector node. Just remember to set the Value Inspector's property "Set From" to Visual Material