Represents a compressed Vector4 value for network transmission. More...
Inherits INetworkStruct, and IEquatable< Vector4Compressed >.
Public Member Functions | |
override bool | Equals (object obj) |
Checks if the provided object is a Vector4Compressed instance and if it's equal to the current Vector4Compressed instance. More... | |
bool | Equals (Vector4Compressed other) |
Checks if the current Vector4Compressed instance is equal to the other Vector4Compressed instance. More... | |
override int | GetHashCode () |
Returns the hash code for the current Vector4Compressed instance. More... | |
Static Public Member Functions | |
static implicit | operator Vector4 (Vector4Compressed q) |
Implicit conversion from Vector4Compressed to Vector4. More... | |
static implicit | operator Vector4Compressed (Vector4 v) |
Implicit conversion from Vector4 to Vector4Compressed. More... | |
static bool | operator!= (Vector4Compressed left, Vector4Compressed right) |
Inequality operator for Vector4Compressed struct. More... | |
static bool | operator== (Vector4Compressed left, Vector4Compressed right) |
Equality operator for Vector4Compressed struct. More... | |
Public Attributes | |
int | wEncoded |
Encoded value of the w component. More... | |
int | xEncoded |
Encoded value of the x component. More... | |
int | yEncoded |
Encoded value of the y component. More... | |
int | zEncoded |
Encoded value of the z component. More... | |
Properties | |
float | W [get, set] |
Gets or sets the w component. More... | |
float | X [get, set] |
Gets or sets the x component. More... | |
float | Y [get, set] |
Gets or sets the y component. More... | |
float | Z [get, set] |
Gets or sets the z component. More... | |
Represents a compressed Vector4 value for network transmission.
override bool Equals | ( | object | obj | ) |
Checks if the provided object is a Vector4Compressed instance and if it's equal to the current Vector4Compressed instance.
obj | The object to compare with the current Vector4Compressed instance. |
bool Equals | ( | Vector4Compressed | other | ) |
Checks if the current Vector4Compressed instance is equal to the other Vector4Compressed instance.
other | The other Vector4Compressed instance to compare with the current Vector4Compressed instance. |
override int GetHashCode | ( | ) |
Returns the hash code for the current Vector4Compressed instance.
|
static |
Implicit conversion from Vector4Compressed to Vector4.
q | The Vector4Compressed instance to convert. |
|
static |
Implicit conversion from Vector4 to Vector4Compressed.
v | The Vector4 value to convert. |
|
static |
Inequality operator for Vector4Compressed struct.
left | First Vector4Compressed instance. |
right | Second Vector4Compressed instance. |
|
static |
Equality operator for Vector4Compressed struct.
left | First Vector4Compressed instance. |
right | Second Vector4Compressed instance. |
int wEncoded |
Encoded value of the w component.
int xEncoded |
Encoded value of the x component.
int yEncoded |
Encoded value of the y component.
int zEncoded |
Encoded value of the z component.
|
getset |
Gets or sets the w component.
|
getset |
Gets or sets the x component.
|
getset |
Gets or sets the y component.
|
getset |
Gets or sets the z component.