Adding Parameters to GLSL Actor
-
I am curious what data types can be added as parameters for the GLSL Actor.
I currently know about Floats and Ints, by using the following as comments in my GLSL code:
// ISADORA_FLOAT_PARAM(name, id, min, max, default, "help text");
// ISADORA_INT_PARAM(name, id, min, max, default, "help text");
Are there any other user defined parameters that can be added? For instance can I have an array? vecf3?
Is there any documentation on this? Also... if it does accept an array, how do I format an array that it will accept?
I searched Help for ISADORA_FLOAT_PARAM and it only brings me to a single help page, is there any additional info? :
Is there a limit on the number of user defined parameters that we can create?
Thanks,
Dave Stein
@ColonelPanix
-
These are the 2 parameter types supported for input at this time. Isadora does not have a matching list type available. If you need multiple values you will need to create multiple inputs.
That article is the most complete documentation for the actor currently.