Example
Vector4 este un vector cu precizie simplă de 4 componente utilizat pentru puncte de control (poziții de vârf omogene), date de normale și valori de culoare. Componenta W este de obicei 1.0f pentru poziții carteziene standard.
Example
| Name | Type | Access | Description |
|---|
Length | double | Read | Gets the length. |
| Signature | Description |
|---|
Vector4(vec: Vector3, w: double) | Creates a new 4‑dimensional vector with the given x, y, z, and w components |
Vector4(vec: Vector3) | |
Vector4(vec: FVector4) | |
Vector4(x: double, y: double, z: double) | |
Vector4(x: double, y: double, z: double, w: double) | |
Set(newX: double, newY: double, newZ: double) | Updates the X, Y, and Z components of the vector |
Set(newX: double, newY: double, newZ: double, newW: double) | |
Equals(obj: object) | Determines whether another Vector4 has the same component values |
GetHashCode() | |
ToString() | |
CompareTo(other: Vector4) | Compares this vector with another Vector4 for ordering |
Vezi și