Hey all! Have a question for you.
Wanting to set a series of RGB variables to affect a set of materials. I could either set up three different arrays, each having a preset vector value, such that Properties 1, 2 & 3 would be held inside of Arrays 1, 2, 3. But ideally, to save on setting up each array and having to GET a property each time, it would be awesome to set Properties 1, 2, 3 as a single line in an array, such that I would have only one array and each slot in the array would contain a string of properties 1, 2, 3.
Is there an easy way I could put these into an array? Perhaps an array of Strings or Text and then some kind of way to break them into their individual vector components? Not sure how I’d write the string, though, would it be like “x,y,z / x,y,z / x,y,z” where each slash represents Property 1 / Property 2 / Property 3 and then I’d use some string editing to separate out each set between a ‘/’ and then break into components? Obviously I’d have to use the same string convention for each to make sure it can separate correctly.
But perhaps I’m overthinking it. Any better solution for storing multiple sets of value information in one slot?