One Logo Pool Ball
USDKit · IOS API REFERENCE

USDValue.Matrix3f

struct · iOS 27.0+ · SDK 27.1

@frozen struct Matrix3f

A 3x3 matrix of single-precision floating-point values.

Members (7)

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.

subscript · iOS 27.0+

subscript

TypeScript
subscriptColumn(index: number): number[]
Swift declaration
subscript(column index: Int) -> USDValue.Matrix3f.VectorType { get set }

Accesses the column at the specified index.

get · iOS 27.0+

matrix

TypeScript
get matrix(): SDKHandle
Swift declaration
var matrix: float3x3 { get }

The matrix as a SIMD `float3x3`.

init · iOS 27.0+

init

TypeScript
static initDiagonal(s: number): USDValue_Matrix3f
Swift declaration
init(diagonal s: Float)

Creates a diagonal matrix with `s` on the diagonal and zeros elsewhere.

init · iOS 27.0+

init

TypeScript
static init(m00: number, m01: number, m02: number, m10: number, m11: number, m12: number, m20: number, m21: number, m22: number): USDValue_Matrix3f
Swift declaration
init(_ m00: Float, _ m01: Float, _ m02: Float, _ m10: Float, _ m11: Float, _ m12: Float, _ m20: Float, _ m21: Float, _ m22: Float)

Creates a matrix from individual element values in row-major order.

init · iOS 27.0+

init

TypeScript
static init10355(matrix: SDKHandle): USDValue_Matrix3f
Swift declaration
init(_ matrix: float3x3)

Creates a matrix from a SIMD `float3x3` matrix.

subscript · iOS 27.0+

subscript

TypeScript
subscript(index: number): number[]
Swift declaration
subscript(index: Int) -> USDValue.Matrix3f.VectorType { get set }

Accesses the row at the specified index.

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →