Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public class GradientFormatter : MinimalBaseFormatter<Gradient>, IFormatter<Gradient>, IFormatter
public GradientFormatter()
protected override Gradient GetUninitializedObject()
UnityEngine.Gradient |
protected override void Read(ref Gradient value, IDataReader reader)
UnityEngine.Gradient | value | The value to read into. |
Sirenix.Serialization.IDataReader | reader | The reader to use. |
protected override void Write(ref Gradient value, IDataWriter writer)
UnityEngine.Gradient | value | The value to write from. |
Sirenix.Serialization.IDataWriter | writer | The writer to use. |