Page 1 of 1

Creating and Swapping Collections

Posted: Wed Feb 14, 2024 23:23
by fresnobob71
I have a simple grid collection in which I write the colors as a collection of 25 float4 values.

I can do things like use write to write single color changes to the index as an integer. And I can do more complicated collections with span and sequence.

What I can't figure out is how to change the different collections via user input.

How do I toggle the input to the index of write?

https://ibb.co/b39XCkV
Image

Re: Creating and Swapping Collections

Posted: Thu Feb 15, 2024 00:35
by tijnisfijn
just use a gate node make sure its set to signal. a gate can have many inputs that you can switch between....

Re: Creating and Swapping Collections

Posted: Thu Feb 15, 2024 15:27
by fresnobob71
Perfect, thanks!