---
title: size
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gknoisemap/size
---

# 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

```swift
var size: vector_double2 { get }
```

## Discussion

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

- [origin](gameplaykit/gknoisemap/origin.md)
- [sampleCount](gameplaykit/gknoisemap/samplecount.md)
- [isSeamless](gameplaykit/gknoisemap/isseamless.md)
