Jump to content

How to change parameter from code?

Recommended Posts

Hello, guys!

For example, I have a button with a callback function and some float value:

    PRM_Template(PRM_CALLBACK, 1, &someBtnName, 0, 0, 0, &callbackFunc),
    PRM_Template(PRM_FLT,    TOOL_PARM,    1, &someValueName, PRMzeroDefaults),
int callbackFunc(void *data, int index, fpreal t, const PRM_Template *tplate)

How to change value of a float control from the callbackFunc function?

Edited by Quantico

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now