Message 1 of 1
Dynamic input float array? (C++)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to create a float input for a node but once something is plugged into the input, I want it to create a new empty input for the next plug and so on. Maya does this with most of its nodes, but I am not sure how to setup the attribute properly to mimic that behavior.
Then, the sum of all the inputs need to be tallied so the sum-total can be used for a calculation. So, I need to figure out the correct way to add all the floats together as well. I'm not sure how to add them all together when they are part of a dynamic array-like structure.
Thank you for any help, I sincerely appreciate it!