This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector3UByte
Morten Aune Lyrstad edited this page Apr 16, 2022
·
42 revisions
← Index ← Namespace Index
public struct Vector3UByteNamespace: VRageMath
Assembly: VRage.Math.dll
| Member | Description |
|---|---|
| \static EqualityComparer Comparer | |
| \static Vector3UByte Zero | |
| \byte X | |
| \byte Y | |
| \byte Z |
| Member | Description |
|---|---|
| \Vector3UByte(byte, byte, byte) | |
| \Vector3UByte(Vector3I) |
| Member | Description |
|---|---|
| \static Vector3 Denormalize(Vector3UByte, float) | Unpacks Vector3 from Vector3UByte, scales vector from (0, 255) to (-range, range) |
| \static Vector3UByte Floor(Vector3) | |
| \static bool IsMiddle(Vector3UByte) | Returns true when all components are 127 |
| \static Vector3UByte Normalize(Vector3, float) | Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255). Unsafe for values "range >= any_vec_value / 257"; |
| \static Vector3UByte Round(Vector3) | |
| \bool Equals(object) | |
| \int GetHashCode() | |
| \int LengthSquared() | |
| \string ToString() |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!