Instance Propertyswift 6.1.2Swift
y
The second element of the vector.
var y: Scalar { get set }The second element of the vector.
var y: Scalar { get set }import Swift@frozen struct SIMD3<Scalar> where Scalar : SIMDScalarA vector of three scalar values.
init() init(_ v0: Scalar, _ v1: Scalar, _ v2: Scalar) Creates a new vector from the given elements.
init(x: Scalar, y: Scalar, z: Scalar) Creates a new vector from the given elements.
var scalarCount: Int { get }The number of scalars in the vector.
var x: Scalar { get set }The first element of the vector.
var z: Scalar { get set }The third element of the vector.
subscript(index: Int) -> Scalar { get set } Accesses the scalar at the specified position.
typealias MaskStorage = SIMD3<Scalar.SIMDMaskScalar>