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