Instance Property

vectorFloat2Value

The receiver’s value as a vector of two floating-point numbers.

Declaration

var vectorFloat2Value: vector_float2 { get set }

Discussion

If the receiver’s original value is a floating-point number, the second item of the vector is set to 0. If the receiver’s original value is a vector of more than two items, the additional items are truncated.