Packed vector type containing four 8-bit signed normalized values, ranging from −1 to 1.
More...
|
uint | PackedValue [get, set] |
| Directly gets or sets the packed representation of the value. More...
|
|
Packed vector type containing four 8-bit signed normalized values, ranging from −1 to 1.
Definition at line 9 of file NormalizedByte4.cs.
VRageMath.PackedVector.NormalizedByte4.NormalizedByte4 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
|
inline |
Initializes a new instance of the NormalizedByte4 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 NormalizedByte4.cs.
VRageMath.PackedVector.NormalizedByte4.NormalizedByte4 |
( |
Vector4 |
vector | ) |
|
|
inline |
override bool VRageMath.PackedVector.NormalizedByte4.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 107 of file NormalizedByte4.cs.
bool VRageMath.PackedVector.NormalizedByte4.Equals |
( |
NormalizedByte4 |
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 119 of file NormalizedByte4.cs.
override int VRageMath.PackedVector.NormalizedByte4.GetHashCode |
( |
| ) |
|
|
inline |
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 59 of file NormalizedByte4.cs.
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 50 of file NormalizedByte4.cs.
void IPackedVector. VRageMath.PackedVector.NormalizedByte4.PackFromVector4 |
( |
Vector4 |
vector | ) |
|
|
inline |
override string VRageMath.PackedVector.NormalizedByte4.ToString |
( |
| ) |
|
|
inline |
Returns a string representation of the current instance.
Definition at line 90 of file NormalizedByte4.cs.
Vector4 VRageMath.PackedVector.NormalizedByte4.ToVector4 |
( |
| ) |
|
|
inline |
uint VRageMath.PackedVector.NormalizedByte4.PackedValue |
|
getset |
Directly gets or sets the packed representation of the value.
Definition at line 17 of file NormalizedByte4.cs.
The documentation for this struct was generated from the following file: