Skip to main content

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
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Quaternionrotation

ReadQuaternion(NetworkReader)

Unpacks Quaternion using

Declaration
public static Quaternion ReadQuaternion(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Quaternion