Photon Fusion
2.0.8
Represents a compressed Quaternion value for network transmission. More...
Inherits INetworkStruct, and IEquatable< QuaternionCompressed >.
Public Member Functions | |
| override bool | Equals (object obj) |
| Checks if the provided object is a QuaternionCompressed instance and if it's equal to the current QuaternionCompressed instance. More... | |
| bool | Equals (QuaternionCompressed other) |
| Checks if the current QuaternionCompressed instance is equal to the other QuaternionCompressed instance. More... | |
| override int | GetHashCode () |
| Returns the hash code for the current QuaternionCompressed instance. More... | |
Static Public Member Functions | |
| static implicit | operator Quaternion (QuaternionCompressed q) |
| Implicit conversion from QuaternionCompressed to Quaternion. More... | |
| static implicit | operator QuaternionCompressed (Quaternion v) |
| Implicit conversion from Quaternion to QuaternionCompressed. More... | |
| static bool | operator!= (QuaternionCompressed left, QuaternionCompressed right) |
| Inequality operator for QuaternionCompressed struct. More... | |
| static bool | operator== (QuaternionCompressed left, QuaternionCompressed right) |
| Equality operator for QuaternionCompressed 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 Quaternion value for network transmission.
| override bool Equals | ( | object | obj | ) |
Checks if the provided object is a QuaternionCompressed instance and if it's equal to the current QuaternionCompressed instance.
| obj | The object to compare with the current QuaternionCompressed instance. |
| bool Equals | ( | QuaternionCompressed | other | ) |
Checks if the current QuaternionCompressed instance is equal to the other QuaternionCompressed instance.
| other | The other QuaternionCompressed instance to compare with the current QuaternionCompressed instance. |
| override int GetHashCode | ( | ) |
Returns the hash code for the current QuaternionCompressed instance.
|
static |
Implicit conversion from QuaternionCompressed to Quaternion.
| q | The QuaternionCompressed instance to convert. |
|
static |
Implicit conversion from Quaternion to QuaternionCompressed.
| v | The Quaternion value to convert. |
|
static |
Inequality operator for QuaternionCompressed struct.
| left | First QuaternionCompressed instance. |
| right | Second QuaternionCompressed instance. |
|
static |
Equality operator for QuaternionCompressed struct.
| left | First QuaternionCompressed instance. |
| right | Second QuaternionCompressed 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.