---
title: cuboid
framework: quartzcore
role: symbol
role_heading: Type Property
path: quartzcore/caemitterlayeremittershape/cuboid
---

# cuboid

Particles are emitted from a cuboid (3D rectangle) with opposite corners: [emitterPosition.x - emitterSize.width/2, emitterPosition.y - emitterSize.height/2, emitterZPosition - emitterDepth/2], [emitterPosition.x + emitterSize.width/2, emitterPosition.y + emitterSize.height/2, emitterZPosition+emitterDepth/2].

## Declaration

```swift
static let cuboid: CAEmitterLayerEmitterShape
```

## See Also

### Constants

- [point](quartzcore/caemitterlayeremittershape/point.md)
- [line](quartzcore/caemitterlayeremittershape/line.md)
- [rectangle](quartzcore/caemitterlayeremittershape/rectangle.md)
- [circle](quartzcore/caemitterlayeremittershape/circle.md)
- [sphere](quartzcore/caemitterlayeremittershape/sphere.md)
