Hi all,
I'm looking for a way to be able to choose input from 3 options. So similar to i.e. the Toggle Switch node or the Static Switch node, except that these are limited to only two options (true/false).
In my case, I use a Vertex Position node and I want to be able to choose either X, Y or Z as input from the Inspector window (so they need to be public).
How do I achieve this?
"Toggle" node with more than two options
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: "Toggle" node with more than two options
Hello!
We recommend that you do this by using the Static Switch with the Type "Keyword Enum" selected, as per the screenshot below:

Alternatively, you can also use the Custom Expression node, although we can't really recommend using conditional instructions for this purpose:

Please let me know if you have any further questions, thanks!
We recommend that you do this by using the Static Switch with the Type "Keyword Enum" selected, as per the screenshot below:

Alternatively, you can also use the Custom Expression node, although we can't really recommend using conditional instructions for this purpose:

Please let me know if you have any further questions, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!