Version 3.3.1.2

AnimationCurveFormatter class

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

Constructors

AnimationCurveFormatter()
public AnimationCurveFormatter()

Methods

GetUninitializedObject()
Returns null.
protected override AnimationCurve GetUninitializedObject()
Returns
UnityEngine.AnimationCurve

A null value.

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

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

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

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.