open all | close all

Index Iterator

索引迭代器

Basic 基础Inputs 投入Outputs 产出

Index Iterator

索引迭代器

This Node can be used to generate a loop that automatically runs through the indices of the linked Array. In principle, this Node’s functionality is a combination of the Get Count Node, which ascertains the number of entries in an Array, and an In Range Node, which runs a loop through a defined value range.

此节点可用于生成一个循环,该循环自动通过链接 Array 的索引运行。原则上,这个 Node 的功能是 Get Count Node 和 In Range Node 的结合,Get Count Node 确定 Array 中的条目数,In Range Node 通过定义的值范围运行一个循环。

The Index Iterator can be used wherever an Array’s values should be processed in consecutive order. In this example, all point positions of a sphere were output consecutively and were then assigned a random offset via a Hash Node before the modified positions were again passed back to the Array and then to the geometry. 索引迭代器可以用在任何应该按连续顺序处理 Array 值的地方。在这个例子中,球体的所有点位置都是连续输出的,然后通过 Hash 节点分配一个随机偏移量,然后修改后的位置再次传回 Array,然后传回几何图形