Creates a noise object by combining the specified noise objects, using another noise object to select which regions of the output correspond to which input noise.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
The array of noise objects to combine.
A noise object whose values determine which object from the
noisesarray contributes to which region of the generated output.
A new noise object.
This method is equivalent to the
init(component method, but automatically determines uniformly spaced boundaries based on the number of noise objects in the
noises array, and using a blend distance of zero for each boundary. Together with these boundaries, the
selection parameter determines which of the input noise objects appears in which region of generated noise.
For example, if the
noises array contains two noise objects, the boundary value is zero: In regions where the
selection field has negative values, the noise created by this method uses values from the first element of the
noises array, and in regions where the
selection field has positive values, the created noise uses values from the second element in the