Api Frame
struct

Frame

public sealed struct Frame

Keyframes times and values should range between 0 and 1

Constructors

Frame(Single timedelta, Single valuedelta)
Frame(Single timedelta, Single valuedelta, Single inTangent, Single outTangent)

Properties

Name Type Description
Time Single The delta position on the time line (0-1)
Value Single The delta position on the value line (0-1)
In Single This is the slope of entry, formula is something like tan( angle )
Out Single This is the slope of exit, formula is something like tan( angle )
Mode HandleMode How the line should behave when entering/leaving this frame

Methods

Frame WithTime(Single time)
Frame WithValue(Single value)
virtual Int32 CompareTo(Frame other)
Assembly: Sandbox.System Declaring Type: Curve Full Name: Sandbox.Curve.Frame