Contents

size

The size of the “slice” of noise samples contained in the noise map relative to the unit coordinate space of the noise object it was created from.

Declaration

var size: vector_double2 { get }

Discussion

If you later generate a texture image from the noise map with the SKTexture class, this size is also the pixel dimensions of the texture to generate.

This property is read-only; you define the size of a noise map when creating it with the interpolatedValue(at:) initializer.

See Also

Inspecting a Noise Map