One Logo Pool Ball
USDKit · IOS API REFERENCE

USDValue.Vec4i

struct · iOS 27.0+ · SDK 27.1

@frozen struct Vec4i

A 4-component 32-bit integer vector.

Members (16)

get · iOS 27.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.

get · iOS 27.0+

w

TypeScript
get w(): number
Swift declaration
var w: Int32 { get set }
set · iOS 27.0+

w

TypeScript
set w(value: number)
Swift declaration
var w: Int32 { get set }
get · iOS 27.0+

x

TypeScript
get x(): number
Swift declaration
var x: Int32 { get set }
set · iOS 27.0+

x

TypeScript
set x(value: number)
Swift declaration
var x: Int32 { get set }
get · iOS 27.0+

y

TypeScript
get y(): number
Swift declaration
var y: Int32 { get set }
set · iOS 27.0+

y

TypeScript
set y(value: number)
Swift declaration
var y: Int32 { get set }
get · iOS 27.0+

z

TypeScript
get z(): number
Swift declaration
var z: Int32 { get set }
set · iOS 27.0+

z

TypeScript
set z(value: number)
Swift declaration
var z: Int32 { get set }
get · iOS 27.0+

simd

TypeScript
get simd(): SDKHandle
Swift declaration
var simd: SIMD4<Int32> { get }

The vector as a `SIMD4<Int32>`.

get · iOS 27.0+

valueType

TypeScript
static get valueType(): USDPrim_Attribute_ValueType
Swift declaration
static var valueType: USDPrim.Attribute.ValueType { get }
init · iOS 27.0+

init

TypeScript
static init(): USDValue_Vec4i
Swift declaration
init()

Creates a zero vector.

init · iOS 27.0+

init

TypeScript
static init2540(x: number, y: number, z: number, w: number): USDValue_Vec4i
Swift declaration
init(_ x: Int, _ y: Int, _ z: Int, _ w: Int)

Creates a vector with the given components.

init · iOS 27.0+

init

TypeScript
static init53398(x: number, y: number, z: number, w: number): USDValue_Vec4i
Swift declaration
init(_ x: Int32, _ y: Int32, _ z: Int32, _ w: Int32)
init · iOS 27.0+

init

TypeScript
static init1801(simd: SDKHandle): USDValue_Vec4i
Swift declaration
init(_ simd: SIMD4<Int32>)

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

subscript · iOS 27.0+

subscript

TypeScript
subscript(index: number): number
Swift declaration
subscript(index: Int) -> Int32 { get set }

Accesses the component at the specified index.

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →