VRageMath
Vector3UByte
Assembly: VRage.Math.dll
public struct Vector3UByte
Fields
| Member | Description |
|---|---|
| static Comparer | |
| static Zero | |
| X | |
| Y | |
| Z |
Constructors
| Member | Description |
|---|---|
| Vector3UByte(byte, byte, byte) | |
| Vector3UByte(Vector3I) |
Methods
| Member | Description |
|---|---|
| static Denormalize(Vector3UByte, float) | Unpacks Vector3 from Vector3UByte, scales vector from (0, 255) to (-range, range) |
| static Floor(Vector3) | |
| static IsMiddle(Vector3UByte) | Returns true when all components are 127 |
| static Normalize(Vector3, float) | Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255). Unsafe for values "range >= any_vec_value / 257"; |
| static Round(Vector3) | |
| Equals(object) | |
| GetHashCode() | |
| LengthSquared() | |
| ToString() |