Version 3.3.0.1

BoundsFormatter class

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

Constructors

BoundsFormatter()
public BoundsFormatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.