<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV9AttributeV9ValueTypeV"
  },
  "title" : "USDPrim.Attribute.ValueType"
}
-->

# USDPrim.Attribute.ValueType

A type that describes the kind of value an attribute can store, such as `float3` or `token[]`.

```
struct ValueType
```

## Topics

### Instance Properties

[`var array: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/array)

The array type corresponding to this type.

[`var role: USDToken`](/documentation/USDKit/USDPrim/Attribute/ValueType/role)

The name of this type’s role, if it has one.

[`var scalar: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/scalar)

The scalar (non-array) type corresponding to this type.

### Type Properties

[`static var asset: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/asset)

[`static var bool: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/bool)

[`static var color3d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/color3d)

[`static var color3f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/color3f)

[`static var color3h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/color3h)

[`static var color4d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/color4d)

[`static var color4f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/color4f)

[`static var color4h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/color4h)

[`static var double: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/double)

[`static var double2: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/double2)

[`static var double3: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/double3)

[`static var double4: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/double4)

[`static var float: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/float)

[`static var float2: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/float2)

[`static var float3: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/float3)

[`static var float4: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/float4)

[`static var frame4d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/frame4d)

[`static var group: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/group)

[`static var half: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/half)

[`static var half2: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/half2)

[`static var half3: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/half3)

[`static var half4: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/half4)

[`static var int2: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/int2)

[`static var int3: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/int3)

[`static var int32: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/int32)

[`static var int4: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/int4)

[`static var int64: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/int64)

[`static var invalid: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/invalid)

An invalid value type.

[`static var matrix2d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/matrix2d)

[`static var matrix3d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/matrix3d)

[`static var matrix4d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/matrix4d)

[`static var normal3d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/normal3d)

[`static var normal3f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/normal3f)

[`static var normal3h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/normal3h)

[`static var opaque: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/opaque)

[`static var pathExpression: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/pathExpression)

[`static var point3d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/point3d)

[`static var point3f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/point3f)

[`static var point3h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/point3h)

[`static var quatd: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/quatd)

[`static var quatf: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/quatf)

[`static var quath: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/quath)

[`static var string: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/string)

[`static var textureCoordinate2d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/textureCoordinate2d)

[`static var textureCoordinate2f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/textureCoordinate2f)

[`static var textureCoordinate2h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/textureCoordinate2h)

[`static var textureCoordinate3d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/textureCoordinate3d)

[`static var textureCoordinate3f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/textureCoordinate3f)

[`static var textureCoordinate3h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/textureCoordinate3h)

[`static var timeCode: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/timeCode)

[`static var token: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/token)

[`static var uchar: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/uchar)

[`static var uint32: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/uint32)

[`static var uint64: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/uint64)

[`static var vector3d: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/vector3d)

[`static var vector3f: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/vector3f)

[`static var vector3h: USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/vector3h)

### Type Methods

[`static func type(named: USDToken) -> USDPrim.Attribute.ValueType`](/documentation/USDKit/USDPrim/Attribute/ValueType/type(named:))

The type corresponding to the given type name.

### Enumerations

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

The shape of a value type’s components.

### Default Implementations

[CustomStringConvertible Implementations](/documentation/USDKit/USDPrim/Attribute/ValueType/CustomStringConvertible-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

[`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)