---
title: seed
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/caemitterlayer/seed
---

# seed

Specifies the seed used to initialize the random number generator.

## Declaration

```swift
var seed: UInt32 { get set }
```

## Discussion

Discussion Each layer has its own random number generator state. Emitter cell properties that are defined as a mean and a range, such as a cell’s speed, the value of the properties are uniformly distributed in the interval [M - R/2, M + R/2].

## See Also

### Emitter Cell Attribute Multipliers

- [scale](quartzcore/caemitterlayer/scale.md)
- [spin](quartzcore/caemitterlayer/spin.md)
- [velocity](quartzcore/caemitterlayer/velocity.md)
- [birthRate](quartzcore/caemitterlayer/birthrate.md)
- [emitterMode](quartzcore/caemitterlayer/emittermode.md)
- [lifetime](quartzcore/caemitterlayer/lifetime.md)
- [preservesDepth](quartzcore/caemitterlayer/preservesdepth.md)
