<!--
{
  "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/USDValue/Vec3i",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDValueV5Vec3iV"
  },
  "title" : "USDValue.Vec3i"
}
-->

# USDValue.Vec3i

A 3-component 32-bit integer vector.

```
@frozen struct Vec3i
```

## Topics

### Initializers

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

Creates a zero vector.

[`init(SIMD3<Int32>)`](/documentation/USDKit/USDValue/Vec3i/init(_:))

Creates a vector from a `SIMD3<Int32>`.

[`init(Int, Int, Int)`](/documentation/USDKit/USDValue/Vec3i/init(_:_:_:)-1jo3u)

Creates a vector with the given components.

[`init(Int32, Int32, Int32)`](/documentation/USDKit/USDValue/Vec3i/init(_:_:_:)-25s85)

### Instance Properties

[`var simd: SIMD3<Int32>`](/documentation/USDKit/USDValue/Vec3i/simd)

The vector as a `SIMD3<Int32>`.

[`var x: Int32`](/documentation/USDKit/USDValue/Vec3i/x)

[`var y: Int32`](/documentation/USDKit/USDValue/Vec3i/y)

[`var z: Int32`](/documentation/USDKit/USDValue/Vec3i/z)

### Subscripts

[`subscript(Int) -> Int32`](/documentation/USDKit/USDValue/Vec3i/subscript(_:))

Accesses the component at the specified index.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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