How is one supposed to set the color filter of an object through a plugin? I know that I'm supposed to set:
Object->info.pInfo->filter[/code:3vv376zu] But how do I set the value for this? Using the RGB() function throws an error at me, so I'm at a loss for what to do. EDIT: Also, it doesn't look like I can set the filter through a parameter from an action. That throws a fit as well.
Develop games in your browser. Powerful, performant & highly capable.
Set it to a cr::color(a, r, g, b). Notice that the variable you mentioned is of type cr::color.
Thanks. I noticed that it was cr::color, I just didn't know how it worked, or where the values went in.
That's where Intellisense and 'Go to definition' are your friend