Version 3.3.1.2

GradientAlphaKeyFormatter class

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

Constructors

GradientAlphaKeyFormatter()
public GradientAlphaKeyFormatter()

Methods

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.