Alpha8¶
-
struct
Alpha8
: System.ValueType, Microsoft.Xna.Framework.Graphics.PackedVector.IPackedVector<Byte>, IPackedVector, System.IEquatable<Alpha8> Packed vector type containing a single 8 bit normalized W values that is ranging from 0 to 1.
-
byte
PackedValue
Gets and sets the packed value.
-
float
ToAlpha
() Gets the packed vector in float format.
Returns: The packed vector in Vector3 format
-
bool
Equals
(System.Object obj) Compares an object with the packed vector.
Parameters: - obj (System.Object) – The object to compare.
Returns: True if the object is equal to the packed vector.
-
bool
Equals
(Alpha8 other) Compares another Alpha8 packed vector with the packed vector.
Parameters: - other (Microsoft.Xna.Framework.Graphics.PackedVector.Alpha8) – The Alpha8 packed vector to compare.
Returns: True if the packed vectors are equal.
-
string
ToString
() Gets a string representation of the packed vector.
Returns: A string representation of the packed vector.
-
int
GetHashCode
() Gets a hash code of the packed vector.
Returns: The hash code for the packed vector.
-
byte