Reading from the Array in Niagara


Hi guys. I need help with reading Arrays in Niagara ScratchPad. I want the specific indexed Object to be Activated during the data flow. I have somehow synchronization issues… I can’t figure out how I can get my specific index to be synchronized with the Execution index. As u can see in the spreadsheet. Maybe I need different approach to check the array. I think I need something like “Is Contain” Function. Sorry, if my explanation is so poor :sweat_smile: Thank you

Hi guys. I solved this problem by directly coding For Loop and the If statement into HLSL. I don’t have much time to explain but I hope it could be helpful for those who will try something similar.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.