Vector4
4D vector using floating point numbers
Properties
| Type | Variable |
|---|---|
| float | x |
| float | y |
| float | z |
| float | w |
Constructors
| Return Type | Constructor | Value |
|---|---|---|
| Vector4 | Vector4.new() | (0.0, 0.0, 0.0, 0.0) |
| Vector4 | Vector4.new(x, y, z, w) | (x, y, z, w) |
Methods
| Return Type | Method |
|---|---|
| float | length() |
| Vector4 | normalize() |