<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Dimension3DSet",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:7Spatial14Dimension3DSetV"
  },
  "title" : "Dimension3DSet"
}
-->

# Dimension3DSet

A set of dimensions.

```
struct Dimension3DSet
```

## Topics

### Type properties

[`static let all: Dimension3DSet`](/documentation/Spatial/Dimension3DSet/all)

All dimensions.

[`static let x: Dimension3DSet`](/documentation/Spatial/Dimension3DSet/x)

The x-dimension.

[`static let y: Dimension3DSet`](/documentation/Spatial/Dimension3DSet/y)

The y-dimension.

[`static let z: Dimension3DSet`](/documentation/Spatial/Dimension3DSet/z)

The z-dimension.

### Instance properties

[`let rawValue: Int`](/documentation/Spatial/Dimension3DSet/rawValue)

The corresponding value of the raw type.

### Initializers

[`init(rawValue: Int)`](/documentation/Spatial/Dimension3DSet/init(rawValue:))

Creates a new instance with the specified raw value.

## Relationships

### Conforms To

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)