Initializer

init()

Initializes a noise map with a constant noise value of zero throughout.

Declaration

convenience init()

Return Value

A new noise map object.

Discussion

This convenience initializer is equivalent to creating a GKNoise object from GKConstantNoiseSource output with a constant value of zero, then using the init(_:) initializer to create a noise map from the result.

See Also

Creating a Noise Map

init(GKNoise)

Initializes a noise map by sampling from the specified noise object.

init(GKNoise, size: vector_double2, origin: vector_double2, sampleCount: vector_int2, seamless: Bool)

Initializes a noise map by sampling from the specified noise object, with the specified parameters.