P Pass AB
通过 a/b
Basic 基础Parameter 参数P Pass AB
通过 a/b
You can use PPassAB to compare, say, the positions of particles in two groups.
您可以使用 PPassAB 来比较,比如,两组中粒子的位置。
In this example PPassAB passes two groups of particles to PGetData which gets the particles’ positions; these are then subtracted one from the other.
在这个例子中,PPassAB 向获取粒子位置的 PGetData 传递两组粒子,然后从另一组粒子中减去一组粒子。
This node is similar to the PPass node except that it enables you to pass two groups of particles to other nodes instead of just one group. This is especially useful when you want to compare the particles in one group with the particles in another, as illustrated above. You could alternatively use two PPass nodes but this is simpler. PPassAB is essential when controlling the PRepulse&Bounce node.
这个节点类似于 PPass 节点,只是它允许您将两组粒子传递给其他节点,而不仅仅是一组粒子。如上所述,当你想要比较一组中的粒子和另一组中的粒子时,这个特别有用。您可以选择使用两个 PPass 节点,但是这样更简单。当控制 PRepulse & Bounce 节点时,PPassAB 是必不可少的。
To learn how to create particle groups, see also 要学习如何创建粒子组,请参见Particle Groups 粒子群 or work through the tutorials. 或者学习教程