Packed vector type containing four 16-bit floating-point values.
More...
Packed vector type containing four 16-bit floating-point values.
Definition at line 9 of file HalfVector4.cs.
VRageMath.PackedVector.HalfVector4.HalfVector4 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
|
inline |
Initializes a new instance of the HalfVector4 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 23 of file HalfVector4.cs.
VRageMath.PackedVector.HalfVector4.HalfVector4 |
( |
Vector4 |
vector | ) |
|
|
inline |
Initializes a new instance of the HalfVector4 structure.
- Parameters
-
vector | A vector containing the initial values for the components of the HalfVector4 structure. |
Definition at line 32 of file HalfVector4.cs.
VRageMath.PackedVector.HalfVector4.HalfVector4 |
( |
HalfVector3 |
vector3, |
|
|
ushort |
w |
|
) |
| |
|
inline |
override bool VRageMath.PackedVector.HalfVector4.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 103 of file HalfVector4.cs.
bool VRageMath.PackedVector.HalfVector4.Equals |
( |
HalfVector4 |
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 115 of file HalfVector4.cs.
override int VRageMath.PackedVector.HalfVector4.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code for the current instance.
Definition at line 94 of file HalfVector4.cs.
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 55 of file HalfVector4.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 46 of file HalfVector4.cs.
void IPackedVector. VRageMath.PackedVector.HalfVector4.PackFromVector4 |
( |
Vector4 |
vector | ) |
|
|
inline |
override string VRageMath.PackedVector.HalfVector4.ToString |
( |
| ) |
|
|
inline |
Returns a string representation of the current instance.
Definition at line 86 of file HalfVector4.cs.
Vector4 VRageMath.PackedVector.HalfVector4.ToVector4 |
( |
| ) |
|
|
inline |
ulong VRageMath.PackedVector.HalfVector4.PackedValue |
ulong IPackedVector<ulong>. VRageMath.PackedVector.HalfVector4.PackedValue |
|
getset |
The documentation for this struct was generated from the following file: