Material Custom Instanced Data - Can You GET Data Once Set?

if you make a dict (map) you can essentially do what you are looking for. it wont be attached to the instance specifically, but you will be able to look up the color via the index.
alternately you can make an an array sized to match the amount of instances, and put the color in the same index as the instance index. this is faster than an dict, and probably what i recommend.
both methods requires some management so the array/dict can stay synced up with the ISM component, but that’s not too bad.

1 Like