C# Class PICO8Tool.Curve

Mostra file Open project: foobit/PICO8Tool Class Usage Examples

Public Methods

Method Description
Add ( float time, float value ) : Key
Add ( Key key ) : void
CatRomEval ( Curve curve, float t ) : float
Curve ( ) : System
Eval ( float t ) : float
FindNearestKey ( float time ) : Key
FindNearestKey ( float time, int &index ) : Key
InBound ( float time ) : bool
LowerBound ( float time ) : bool
UpperBound ( float time ) : bool

Method Details

Add() public method

public Add ( float time, float value ) : Key
time float
value float
return Key

Add() public method

public Add ( Key key ) : void
key Key
return void

CatRomEval() public static method

public static CatRomEval ( Curve curve, float t ) : float
curve Curve
t float
return float

Curve() public method

public Curve ( ) : System
return System

Eval() public method

public Eval ( float t ) : float
t float
return float

FindNearestKey() public method

public FindNearestKey ( float time ) : Key
time float
return Key

FindNearestKey() public method

public FindNearestKey ( float time, int &index ) : Key
time float
index int
return Key

InBound() public method

public InBound ( float time ) : bool
time float
return bool

LowerBound() public method

public LowerBound ( float time ) : bool
time float
return bool

UpperBound() public method

public UpperBound ( float time ) : bool
time float
return bool