Version 3.3.0.1

Vector4Formatter class

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

Constructors

Vector4Formatter()
public Vector4Formatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.