Frameclass

Keyframes times and values should range between 0 and 1

object→Frame
Namespace
global
Assembly
Sandbox.System
Declaration
public sealed struct Sandbox.Curve.Frame

Constructors2

Showing 2 constructors

Methods3

Showing 3 methods

public virtual sealed int CompareTo(Sandbox.Curve.Frame other)PUBLICVIRTUAL

ParameterTypeDescription
otherFrame—
Returns:int—

public Sandbox.Curve.Frame WithTime(float time)PUBLIC

ParameterTypeDescription
timefloat—
Returns:Frame—

public Sandbox.Curve.Frame WithValue(float value)PUBLIC

ParameterTypeDescription
valuefloat—
Returns:Frame—

Properties5

Showing 5 properties

public float Sandbox.Curve.Frame.In { get; set; }PUBLICGETSET

This is the slope of entry, formula is something like tan( angle )

Returns:float—

public Sandbox.Curve.HandleMode Sandbox.Curve.Frame.Mode { get; set; }PUBLICGETSET

How the line should behave when entering/leaving this frame

Returns:HandleMode—

public float Sandbox.Curve.Frame.Out { get; set; }PUBLICGETSET

This is the slope of exit, formula is something like tan( angle )

Returns:float—

public float Sandbox.Curve.Frame.Time { get; set; }PUBLICGETSET

The delta position on the time line (0-1)

Returns:float—

public float Sandbox.Curve.Frame.Value { get; set; }PUBLICGETSET

The delta position on the value line (0-1)

Returns:float—

On this page