Vector4 class
Vector4 class
A vector with four components.
The Vector4 type exposes the following members:
Constructors
Constructor | Description |
---|
init | Initializes a new instance of the Vector4 struct. |
init | Initializes a new instance of the Vector4 struct. |
init | Initializes a new instance of the Vector4 struct. |
init | Initializes a new instance of the Vector4 struct. |
init | Initializes a new instance of the Vector4 struct. |
init | Constructs a new instance of Vector4 |
Properties
Property | Description |
---|
x | The x component. |
y | The y component. |
z | The z component. |
w | The w component. |
Methods
Method | Description |
---|
set | Sets vector’s xyz components at a time, w will be set to 1 |
set | Sets vector’s all components at a time |
compare_to | Compare current vector to another instance. |
See Also