Skip to main content

Class Vector3Packer

Inheritance
System.Object
Inherited Members
Show
Syntax
public sealed class Vector3Packer

Constructors

Vector3Packer(Single, Single, Single, Int32, Int32, Int32)

Declaration
public Vector3Packer(float xMax, float yMax, float zMax, int xBitCount, int yBitCount, int zBitCount)
Parameters
TypeNameDescription
System.SinglexMax
System.SingleyMax
System.SinglezMax
System.Int32xBitCount
System.Int32yBitCount
System.Int32zBitCount

Vector3Packer(Single, Single, Single, Single, Single, Single)

Declaration
public Vector3Packer(float xMax, float yMax, float zMax, float xPrecision, float yPrecision, float zPrecision)
Parameters
TypeNameDescription
System.SinglexMax
System.SingleyMax
System.SinglezMax
System.SinglexPrecision
System.SingleyPrecision
System.SinglezPrecision

Vector3Packer(Vector3, Vector3)

Declaration
public Vector3Packer(Vector3 max, Vector3 precision)
Parameters
TypeNameDescription
Vector3max
Vector3precision

Methods

Pack(NetworkWriter, Vector3)

Declaration
public void Pack(NetworkWriter writer, Vector3 value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
Vector3value

Unpack(NetworkReader)

Declaration
public Vector3 Unpack(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
Vector3