HalfVector4¶
-
struct
HalfVector4
: System.ValueType, Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector<UInt64>, IPackedVector, System.IEquatable<HalfVector4> Packed vector type containing four 16-bit floating-point values.
-
ulong
PackedValue
Directly gets or sets the packed representation of the value.
Value: The packed representation of the value.
-
Vector4
ToVector4
() Expands the packed representation into a Vector4.
Returns: The expanded vector.
-
string
ToString
() Returns a string representation of the current instance.
Returns: String that represents the object.
-
int
GetHashCode
() Gets the hash code for the current instance.
Returns: Hash code for the instance.
-
bool
Equals
(System.Object obj) Returns a value that indicates whether the current instance is equal to a specified object.
Parameters: - obj (System.Object) – The object with which to make the comparison.
Returns: true if the current instance is equal to the specified object; false otherwise.
-
bool
Equals
(HalfVector4 other) Returns a value that indicates whether the current instance is equal to a specified object.
Parameters: - other (Microsoft.Xna.Framework.Graphics.PackedVector.HalfVector4) – The object with which to make the comparison.
Returns: true if the current instance is equal to the specified object; false otherwise.
-
bool
op_Equality
(HalfVector4 a, HalfVector4 b) Compares the current instance of a class to another instance to determine whether they are the same.
Parameters: - a (Microsoft.Xna.Framework.Graphics.PackedVector.HalfVector4) – The object to the left of the equality operator.
- b (Microsoft.Xna.Framework.Graphics.PackedVector.HalfVector4) – The object to the right of the equality operator.
Returns: true if the objects are the same; false otherwise.
-
bool
op_Inequality
(HalfVector4 a, HalfVector4 b) Compares the current instance of a class to another instance to determine whether they are different.
Parameters: - a (Microsoft.Xna.Framework.Graphics.PackedVector.HalfVector4) – The object to the left of the equality operator.
- b (Microsoft.Xna.Framework.Graphics.PackedVector.HalfVector4) – The object to the right of the equality operator.
Returns: true if the objects are different; false otherwise.
-
ulong