maybe i am wrong somehow but IMHO it should be possible to have an
bool4
inputparameter.
have a look at the attached Cursor.fx:
change line 38
from
float4 SwitchLine <String uiname=“Enable”;> = {1, 0, 0, 1};
to
bool4 SwitchLine <String uiname=“Enable”;> = {1, 0, 0, 1};
it does compile well but does not react on input anymore…
Cursor.zip (7.0 kB)