How I Set Boolean Material Parameter in BluePrint ?
Hi, How i set a variable of type boolean via BluePrint ???
In Blue Print not Show Set Boolean Parameter Value property..
Only Vector, Texture and Scalar Parameter.....
asked Aug 11 '14 at 12:55 AM in Blueprint Scripting
A workaround is to use a scalar parameter and an IF node and a fixed scalar 0. A is your scalar parameter, B is 0 and then you can switch between three different inputs. Really useful to toggle on and off a feature of a material at runtime.
answered Oct 04 '17 at 08:02 PM
Short Answer: You can't.
Silly, right? I mean, in my custom shaders I can set a boolean value without any problems. This would be a nice feature capability to have in UE4.
answered Mar 04 '15 at 12:17 AM
Try the Scalar one. Boolean is a scalar type.
answered Aug 11 '14 at 04:09 AM
I used another workaround which work very well. I switched the Switch with a Lerp and connected the Scalar to the alpha. Works perfectly!
answered Jun 30 '19 at 05:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here