Roblox-File-Format/DataTypes/NumberSequenceKeypoint.cs

22 lines
516 B
C#
Raw Normal View History

namespace RobloxFiles.DataTypes
{
public class NumberSequenceKeypoint
{
public readonly float Time;
public readonly float Value;
public readonly float Envelope;
public NumberSequenceKeypoint(float time, float value, float envelope = 0)
{
Time = time;
Value = value;
Envelope = envelope;
}
public override string ToString()
{
return string.Join(" ", Time, Value, Envelope);
}
}
}