Space Engineers
|
Classes | |
class | EqualityComparer |
Public Member Functions | |
Vector3UByte (byte x, byte y, byte z) | |
Vector3UByte (Vector3I vec) | |
override string | ToString () |
override int | GetHashCode () |
override bool | Equals (object obj) |
int | LengthSquared () |
Static Public Member Functions | |
static bool | operator== (Vector3UByte a, Vector3UByte b) |
static bool | operator!= (Vector3UByte a, Vector3UByte b) |
static Vector3UByte | Round (Vector3 vec) |
static Vector3UByte | Floor (Vector3 vec) |
static implicit | operator Vector3I (Vector3UByte vec) |
static bool | IsMiddle (Vector3UByte vec) |
Returns true when all components are 127 More... | |
static Vector3UByte | Normalize (Vector3 vec, float range) |
Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255). Unsafe for values "range >= any_vec_value / 257"; More... | |
static Vector3 | Denormalize (Vector3UByte vec, float range) |
Unpacks Vector3 from Vector3UByte, scales vector from (0, 255) to (-range, range) More... | |
Public Attributes | |
byte | X |
byte | Y |
byte | Z |
Static Public Attributes | |
static readonly EqualityComparer | Comparer = new EqualityComparer() |
static Vector3UByte | Zero = new Vector3UByte(0, 0, 0) |
Definition at line 10 of file Vector3UByte.cs.
|
inline |
Definition at line 44 of file Vector3UByte.cs.
|
inline |
Definition at line 51 of file Vector3UByte.cs.
|
inlinestatic |
Unpacks Vector3 from Vector3UByte, scales vector from (0, 255) to (-range, range)
Definition at line 141 of file Vector3UByte.cs.
|
inline |
Definition at line 72 of file Vector3UByte.cs.
|
inlinestatic |
Definition at line 99 of file Vector3UByte.cs.
|
inline |
Definition at line 67 of file Vector3UByte.cs.
|
inlinestatic |
Returns true when all components are 127
Definition at line 117 of file Vector3UByte.cs.
|
inline |
Definition at line 109 of file Vector3UByte.cs.
|
inlinestatic |
Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255). Unsafe for values "range >= any_vec_value / 257";
Definition at line 127 of file Vector3UByte.cs.
|
inlinestatic |
Definition at line 104 of file Vector3UByte.cs.
|
inlinestatic |
Definition at line 89 of file Vector3UByte.cs.
|
inlinestatic |
Definition at line 84 of file Vector3UByte.cs.
|
inlinestatic |
Definition at line 94 of file Vector3UByte.cs.
|
inline |
Definition at line 62 of file Vector3UByte.cs.
|
static |
Definition at line 33 of file Vector3UByte.cs.
byte VRageMath.Vector3UByte.X |
Definition at line 38 of file Vector3UByte.cs.
byte VRageMath.Vector3UByte.Y |
Definition at line 40 of file Vector3UByte.cs.
byte VRageMath.Vector3UByte.Z |
Definition at line 42 of file Vector3UByte.cs.
|
static |
Definition at line 35 of file Vector3UByte.cs.