Packed vector type containing four 8-bit unsigned integer values, ranging from 0 to 255.
More...
|
| static bool | operator== (Byte4 a, Byte4 b) |
| | Compares the current instance of a class to another instance to determine whether they are the same. More...
|
| |
| static bool | operator!= (Byte4 a, Byte4 b) |
| | Compares the current instance of a class to another instance to determine whether they are different. More...
|
| |
|
| uint | PackedValue [get, set] |
| | Directly gets or sets the packed representation of the value. More...
|
| |
Packed vector type containing four 8-bit unsigned integer values, ranging from 0 to 255.
Definition at line 9 of file Byte4.cs.
| VRageMath.PackedVector.Byte4.Byte4 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
|
inline |
Initializes a new instance of the Byte4 class.
- Parameters
-
| x | Initial value for the x component. |
| y | Initial value for the y component. |
| z | Initial value for the z component. |
| w | Initial value for the w component. |
Definition at line 32 of file Byte4.cs.
| VRageMath.PackedVector.Byte4.Byte4 |
( |
Vector4 |
vector | ) |
|
|
inline |
Initializes a new instance of the Byte4 structure.
- Parameters
-
| vector | A vector containing the initial values for the components of the Byte4 structure. |
Definition at line 41 of file Byte4.cs.
| VRageMath.PackedVector.Byte4.Byte4 |
( |
uint |
packedValue | ) |
|
|
inline |
| override bool VRageMath.PackedVector.Byte4.Equals |
( |
object |
obj | ) |
|
|
inline |
Returns a value that indicates whether the current instance is equal to a specified object.
- Parameters
-
| obj | The object with which to make the comparison. |
Definition at line 122 of file Byte4.cs.
| bool VRageMath.PackedVector.Byte4.Equals |
( |
Byte4 |
other | ) |
|
|
inline |
Returns a value that indicates whether the current instance is equal to a specified object.
- Parameters
-
| other | The object with which to make the comparison. |
Definition at line 134 of file Byte4.cs.
| override int VRageMath.PackedVector.Byte4.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code for the current instance.
Definition at line 113 of file Byte4.cs.
| static bool VRageMath.PackedVector.Byte4.operator!= |
( |
Byte4 |
a, |
|
|
Byte4 |
b |
|
) |
| |
|
inlinestatic |
Compares the current instance of a class to another instance to determine whether they are different.
- Parameters
-
| a | The object to the left of the equality operator. |
| b | The object to the right of the equality operator. |
Definition at line 64 of file Byte4.cs.
| static bool VRageMath.PackedVector.Byte4.operator== |
( |
Byte4 |
a, |
|
|
Byte4 |
b |
|
) |
| |
|
inlinestatic |
Compares the current instance of a class to another instance to determine whether they are the same.
- Parameters
-
| a | The object to the left of the equality operator. |
| b | The object to the right of the equality operator. |
Definition at line 55 of file Byte4.cs.
| void IPackedVector. VRageMath.PackedVector.Byte4.PackFromVector4 |
( |
Vector4 |
vector | ) |
|
|
inline |
| override string VRageMath.PackedVector.Byte4.ToString |
( |
| ) |
|
|
inline |
Returns a string representation of the current instance.
Definition at line 105 of file Byte4.cs.
| Vector4 VRageMath.PackedVector.Byte4.ToVector4 |
( |
| ) |
|
|
inline |
Expands the packed representation into a Vector4.
Definition at line 82 of file Byte4.cs.
| Vector4UByte VRageMath.PackedVector.Byte4.ToVector4UByte |
( |
| ) |
|
|
inline |
| uint VRageMath.PackedVector.Byte4.PackedValue |
|
getset |
Directly gets or sets the packed representation of the value.
Definition at line 17 of file Byte4.cs.
The documentation for this struct was generated from the following file:
- Sources/VRage.Math/PackedVector/Byte4.cs