<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDValue/Vec3h",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDValueV5Vec3hV"
  },
  "title" : "USDValue.Vec3h"
}
-->

# USDValue.Vec3h

A 3-component half-precision vector.

```
@frozen struct Vec3h
```

## Topics

### Initializers

[`init()`](/documentation/USDKit/USDValue/Vec3h/init())

Creates a zero vector.

[`init(Float16, Float16, Float16)`](/documentation/USDKit/USDValue/Vec3h/init(_:_:_:))

Creates a vector with the given components.

### Instance Properties

[`var simd: SIMD3<Float16>`](/documentation/USDKit/USDValue/Vec3h/simd)

The vector as a `SIMD3<Float16>`.

[`var x: Float16`](/documentation/USDKit/USDValue/Vec3h/x)

[`var y: Float16`](/documentation/USDKit/USDValue/Vec3h/y)

[`var z: Float16`](/documentation/USDKit/USDValue/Vec3h/z)

### Subscripts

[`subscript(Int) -> Float16`](/documentation/USDKit/USDValue/Vec3h/subscript(_:))

Accesses the component at the specified index.

## Relationships

### Conforms To

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

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

[`USDValueProtocol`](/documentation/USDKit/USDValueProtocol)

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

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

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

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

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

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

[`Value`](/documentation/USDKit/USDPrim/Attribute/Value)

[`MetadataValue`](/documentation/USDKit/USDStage/Object/MetadataValue)

---

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)