Packed vector type containing four 16-bit floating-point values.
More...
|
ushort | X |
|
ushort | Y |
|
ushort | Z |
|
Packed vector type containing four 16-bit floating-point values.
Definition at line 8 of file HalfVector3.cs.
VRageMath.PackedVector.HalfVector3.HalfVector3 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
Initializes a new instance of the HalfVector3 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 16 of file HalfVector3.cs.
VRageMath.PackedVector.HalfVector3.HalfVector3 |
( |
Vector3 |
vector | ) |
|
|
inline |
Initializes a new instance of the HalfVector3 structure.
- Parameters
-
vector | A vector containing the initial values for the components of the HalfVector3 structure. |
Definition at line 27 of file HalfVector3.cs.
HalfVector4 VRageMath.PackedVector.HalfVector3.ToHalfVector4 |
( |
| ) |
|
|
inline |
override string VRageMath.PackedVector.HalfVector3.ToString |
( |
| ) |
|
|
inline |
Returns a string representation of the current instance.
Definition at line 64 of file HalfVector3.cs.
Vector3 VRageMath.PackedVector.HalfVector3.ToVector3 |
( |
| ) |
|
|
inline |
ushort VRageMath.PackedVector.HalfVector3.X |
ushort VRageMath.PackedVector.HalfVector3.Y |
ushort VRageMath.PackedVector.HalfVector3.Z |
The documentation for this struct was generated from the following file: