A node whose distance to each particle provides input values for the controller’s animation.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
This property applies only when the controller’s
input value is
SCNParticle. When you select that input mode, this property’s value must be a node in the scene containing the particle system; otherwise, SceneKit ignores this property. The default value is
SceneKit calculates the distance between this node’s
position vector (converted to the scene’s world coordinate space) and each particle and then uses the resulting value as the input to the controller’s animation. For example, if you use this option to animate particle opacity from
0, all particles beyond a certain distance from the
input node are fully transparent—regardless of any random velocity or direction variations in reaching that distance.