Vector4 class

Vector4 class

A vector with four components.

The Vector4 type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the Vector4 struct.
initInitializes a new instance of the Vector4 struct.
initInitializes a new instance of the Vector4 struct.
initInitializes a new instance of the Vector4 struct.
initInitializes a new instance of the Vector4 struct.
initConstructs a new instance of Vector4

Methods

MethodDescription
setSets vector’s xyz components at a time, w will be set to 1
setSets vector’s all components at a time
compare_toCompare current vector to another instance.

See Also