<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDPrim/Attribute/ValueType/TupleDimensions",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV9AttributeV9ValueTypeV15TupleDimensionsO"
  },
  "title" : "USDPrim.Attribute.ValueType.TupleDimensions"
}
-->

# USDPrim.Attribute.ValueType.TupleDimensions

The shape of a value type’s components.

```
enum TupleDimensions
```

## Overview

- `scalar`: a single value (e.g. `Float`, `Int`).
- `vector(n)`: an n-component tuple (e.g. `Float3` is `.vector(3)`).
- `matrix(rows:cols:)`: a 2D tuple (e.g. `Matrix4d` is `.matrix(rows: 4, cols: 4)`).

## Topics

### Enumeration Cases

[`case matrix(rows: Int, columns: Int)`](/documentation/USDKit/USDPrim/Attribute/ValueType/TupleDimensions/matrix(rows:columns:))

[`case scalar`](/documentation/USDKit/USDPrim/Attribute/ValueType/TupleDimensions/scalar)

[`case vector(Int)`](/documentation/USDKit/USDPrim/Attribute/ValueType/TupleDimensions/vector(_:))

### Instance Properties

[`var componentCount: Int`](/documentation/USDKit/USDPrim/Attribute/ValueType/TupleDimensions/componentCount)

The total number of components across all dimensions.

## Relationships

### Conforms To

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

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

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

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

---

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)