Version 3.3.0.1

Vector3Formatter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class Vector3Formatter : MinimalBaseFormatter<Vector3>, IFormatter<Vector3>, IFormatter
Custom formatter for the UnityEngine.Vector3 type.
Inheritance

Constructors

Vector3Formatter()
public Vector3Formatter()

Methods

Read(ref Vector3, IDataReader)
Reads into the specified value using the specified reader.
protected override void Read(ref Vector3 value, IDataReader reader)
Parameters
UnityEngine.Vector3 value

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

Write(ref Vector3, IDataWriter)
Writes from the specified value using the specified writer.
protected override void Write(ref Vector3 value, IDataWriter writer)
Parameters
UnityEngine.Vector3 value

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.