Creates a vector from the specified elements.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
init(arrayLiteral scalars: Scalar...)
Parameters
scalars
The elements to use in the vector.
scalars
must have the same number of elements as the vector type.