Toast Engine
Loading...
Searching...
No Matches
editor.Assets.Curve Class Referencesealed

Public Member Functions

 Curve (IReadOnlyList< float > points, SplineType type, float tScale=1f)
float float y Eval2D (float t)
float EvalAtX (float x)
void SetPoints (IReadOnlyList< float > points)
void SetSplineType (SplineType type)
void SetTScale (float tScale)
Curve Clone ()
TomlTable ToToml ()

Static Public Member Functions

static Curve FromToml (TomlTable table)

Public Attributes

float x

Properties

SplineType SplineType [get]
float TScale [get]
IReadOnlyList< float > Points [get]
int NumPoints [get]

The documentation for this class was generated from the following file:
  • editor/Assets/Curve.cs