public abstract class TimeCycleSplineSet

Known direct subclasses
TimeCycleSplineSet.CustomSet
TimeCycleSplineSet.CustomVarSet
ViewTimeCycle

This engine allows manipulation of attributes by wave shapes oscillating in time


This engine allows manipulation of attributes by wave shapes oscillating in time

Summary

Constants

static final int
static final int
static final int

Protected fields

float[]
boolean
int
CurveFit
float
long
int[]
String
float[][]
int
static float

Public constructors

Public methods

CurveFit
void
setPoint(int position, float value, float period, int shape, float offset)
void
void
setup(int curveType)
String

Protected methods

float
calcWave(float period)
void
setStartTime(long currentTime)

Constants

CURVE_OFFSET

Added in 1.1.0-beta01
protected static final int CURVE_OFFSET = 2

CURVE_PERIOD

Added in 1.1.0-beta01
protected static final int CURVE_PERIOD = 1

CURVE_VALUE

Added in 1.1.0-beta01
protected static final int CURVE_VALUE = 0

Protected fields

mCache

Added in 1.1.0-beta01
protected float[] mCache

mContinue

Added in 1.1.0-beta01
protected boolean mContinue

mCount

Added in 1.1.0-beta01
protected int mCount

mCurveFit

Added in 1.1.0-beta01
protected CurveFit mCurveFit

mLastCycle

Added in 1.1.0-beta01
protected float mLastCycle

mLastTime

Added in 1.1.0-beta01
protected long mLastTime

mTimePoints

Added in 1.1.0-beta01
protected int[] mTimePoints

mType

Added in 1.1.0-beta01
protected String mType

mValues

Added in 1.1.0-beta01
protected float[][] mValues

mWaveShape

Added in 1.1.0-beta01
protected int mWaveShape

sVal2PI

Added in 1.1.0-beta01
protected static float sVal2PI

Public constructors

TimeCycleSplineSet

Added in 1.1.0-beta01
public TimeCycleSplineSet()

Public methods

getCurveFit

Added in 1.1.0-beta01
public CurveFit getCurveFit()

setPoint

Added in 1.1.0-beta01
public void setPoint(int position, float value, float period, int shape, float offset)

setType

Added in 1.1.0-beta01
public void setType(String type)

setup

Added in 1.1.0-beta01
public void setup(int curveType)

toString

public String toString()

Protected methods

calcWave

Added in 1.1.0-beta01
protected float calcWave(float period)
Parameters
float period

cycles per second

setStartTime

Added in 1.1.0-beta01
protected void setStartTime(long currentTime)