public abstract class KeyCycleOscillator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
mVariesBy |
| Constructor and Description |
|---|
KeyCycleOscillator() |
| Modifier and Type | Method and Description |
|---|---|
float |
get(float t) |
CurveFit |
getCurveFit() |
float |
getSlope(float position) |
protected void |
setCustom(java.lang.Object custom) |
void |
setPoint(int framePosition,
int shape,
java.lang.String waveString,
int variesBy,
float period,
float offset,
float phase,
float value)
sets a oscillator wave point
|
void |
setPoint(int framePosition,
int shape,
java.lang.String waveString,
int variesBy,
float period,
float offset,
float phase,
float value,
java.lang.Object custom)
sets a oscillator wave point
|
void |
setType(java.lang.String type) |
void |
setup(float pathLength) |
java.lang.String |
toString() |
boolean |
variesByPath() |
public boolean variesByPath()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setType(java.lang.String type)
public float get(float t)
public float getSlope(float position)
public CurveFit getCurveFit()
protected void setCustom(java.lang.Object custom)
public void setPoint(int framePosition,
int shape,
java.lang.String waveString,
int variesBy,
float period,
float offset,
float phase,
float value,
java.lang.Object custom)
framePosition - the positionvariesBy - only varies by path supported for nowperiod - the period of the waveoffset - the offset valuevalue - the addercustom - The ConstraintAttribute used to set the valuepublic void setPoint(int framePosition,
int shape,
java.lang.String waveString,
int variesBy,
float period,
float offset,
float phase,
float value)
framePosition - the positionvariesBy - only varies by path supported for nowperiod - the period of the waveoffset - the offset valuevalue - the adderpublic void setup(float pathLength)