Class CompressedExtensions
Inheritance
System.Object
Inherited Members
Show
Syntax
public static class CompressedExtensions
Methods
WriteQuaternion(NetworkWriter, Quaternion)
Packs Quaternion using
Declaration
public static void WriteQuaternion(this NetworkWriter writer, Quaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer | |
Quaternion | rotation |
ReadQuaternion(NetworkReader)
Unpacks Quaternion using
Declaration
public static Quaternion ReadQuaternion(this NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader |
Returns
Type | Description |
---|---|
Quaternion |