Class VarVector3Packer
Packs a vector3 using and
Inheritance
System.Object
Inherited Members
Show
Syntax
public sealed class VarVector3Packer
Constructors
VarVector3Packer(Vector3, Int32)
Declaration
public VarVector3Packer(Vector3 precision, int blocksize)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | precision | |
System.Int32 | blocksize |
Methods
Pack(NetworkWriter, Vector3)
Declaration
public void Pack(NetworkWriter writer, Vector3 position)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer | |
Vector3 | position |
Unpack(NetworkReader)
Declaration
public Vector3 Unpack(NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader |
Returns
Type | Description |
---|---|
Vector3 |