Replaces values in the noise field by shifting each value along a vector whose x-, y-, and z-components are based on the specified noise objects.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
A noise object whose values determine the x-component of distortion applied to each value in this noise field.
A noise object whose values determine the y-component of distortion applied to each value in this noise field.
A noise object whose values determine the z-component of distortion applied to each value in this noise field.
For each position in the noise field, this method first constructs a vector by sampling from the same position in the
z noise objects. Then this method uses that vector to shift the location of the noise value at that position. By applying different types of noise to each parameter, you can create different kinds of distortion effects. For example, passing
GKCylinders output to one parameter and
GKConstant to the other two, you can add horizontal, vertical, or transverse waves to the noise.