Photon Fusion
2.0.8
Provides utility methods for reading and writing data. More...
Static Public Member Functions | |
| static float | ReadFloat (int *data) |
| Reads a float value from the provided memory location. More... | |
| static Quaternion | ReadQuaternion (int *data) |
| Reads a Quaternion value from the provided memory location. More... | |
| static Vector2 | ReadVector2 (int *data) |
| Reads a Vector2 value from the provided memory location. More... | |
| static Vector3 | ReadVector3 (int *data) |
| Reads a Vector3 value from the provided memory location. More... | |
| static Vector4 | ReadVector4 (int *data) |
| Reads a Vector4 value from the provided memory location. More... | |
| static void | WriteFloat (int *data, float f) |
| Writes a float value to the provided memory location. More... | |
| static void | WriteQuaternion (int *data, Quaternion value) |
| Writes a Quaternion value to the provided memory location. More... | |
| static void | WriteVector2 (int *data, Vector2 value) |
| Writes a Vector2 value to the provided memory location. More... | |
| static void | WriteVector3 (int *data, Vector3 value) |
| Writes a Vector3 value to the provided memory location. More... | |
| static void | WriteVector4 (int *data, Vector4 value) |
| Writes a Vector4 value to the provided memory location. More... | |
Static Public Attributes | |
| const float | ACCURACY = 1 << 10 |
| Accuracy of floating point values when serialized. More... | |
Provides utility methods for reading and writing data.
|
static |
Reads a float value from the provided memory location.
| data | The memory location to read from. |
|
static |
Reads a Quaternion value from the provided memory location.
| data | The memory location to read from. |
|
static |
Reads a Vector2 value from the provided memory location.
| data | The memory location to read from. |
|
static |
Reads a Vector3 value from the provided memory location.
| data | The memory location to read from. |
|
static |
Reads a Vector4 value from the provided memory location.
| data | The memory location to read from. |
|
static |
Writes a float value to the provided memory location.
| data | The memory location to write to. |
| f | The float value to write. |
|
static |
Writes a Quaternion value to the provided memory location.
| data | The memory location to write to. |
| value | The Quaternion value to write. |
|
static |
Writes a Vector2 value to the provided memory location.
| data | The memory location to write to. |
| value | The Vector2 value to write. |
|
static |
Writes a Vector3 value to the provided memory location.
| data | The memory location to write to. |
| value | The Vector3 value to write. |
|
static |
Writes a Vector4 value to the provided memory location.
| data | The memory location to write to. |
| value | The Vector4 value to write. |
|
static |
Accuracy of floating point values when serialized.