Roblox-File-Format/DataTypes/NumberSequenceKeypoint.cs
CloneTrooper1019 9cfd5b2211 Initial commit.
There's a lot of code at play here, so I haven't tested it yet.
A good chunk of the components are available though.
2019-01-25 18:39:37 -06:00

22 lines
512 B
C#

namespace Roblox.DataTypes
{
public struct 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);
}
}
}