Message 1 of 5
Override parent parameters in node_parameters
Not applicable
10-10-2019
03:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
So say I'm writing a custom plugin, some types have parameters associated with them. (For instance, cameras have near_clip and far_clip).
The AiParameterFlt macro doesn't seem to be the way to do this as it's for declaring, adding the incremented index etc. Doing so in node_initialize would deprive users of having the ability to set it, as that's called upon instantiation.
How would I go about doing this in a DCC agnostic manner?
Cheers,
Alan.