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: Double { get set }
set · iOS 27.0+
w
TypeScript
set w(value: number)
Swift declaration
var w: Double { get set }
get · iOS 27.0+
x
TypeScript
get x(): number
Swift declaration
var x: Double { get set }
set · iOS 27.0+
x
TypeScript
set x(value: number)
Swift declaration
var x: Double { get set }
get · iOS 27.0+
y
TypeScript
get y(): number
Swift declaration
var y: Double { get set }
set · iOS 27.0+
y
TypeScript
set y(value: number)
Swift declaration
var y: Double { get set }
get · iOS 27.0+
z
TypeScript
get z(): number
Swift declaration
var z: Double { get set }
set · iOS 27.0+
z
TypeScript
set z(value: number)
Swift declaration
var z: Double { get set }
get · iOS 27.0+
simd
TypeScript
get simd(): SDKHandle
Swift declaration
var simd: SIMD4<Double> { get }
The vector as a `SIMD4<Double>`.
get · iOS 27.0+
valueType
TypeScript
static get valueType(): USDPrim_Attribute_ValueType
Swift declaration
static var valueType: USDPrim.Attribute.ValueType { get }