public SetTransformAnimation ( TextureTransform transType, WaveformType waveType, float baseVal, float frequency, float phase, float amplitude ) : void | ||
transType | TextureTransform | The type of transform, either translate (scroll), scale (stretch) or rotate (spin). |
waveType | WaveformType | The shape of the wave, see |
baseVal | float | The base value for the function (range of output = {base, base + amplitude}). |
frequency | float | The speed of the wave in cycles per second. |
phase | float | The offset of the start of the wave, e.g. 0.5 to start half-way through the wave. |
amplitude | float | Scales the output so that instead of lying within [0..1] it lies within [0..(1 * amplitude)] for exaggerated effects. |
Результат | void |