Documentation - Maxscript

< Back to main maxscript documentation

Float_Wave : FloatController


The Float_Wave controller is similar to the waveform controller, but the parameters can be animated and wired to any float controller, they can also be accessed from maxscript.
Also the output does not depend on time, it has to be animated with the phase parameter, this allows better control on the speed of the wave movement.

Properties

<Float_Wave>.amplitude Float default: 100.0

Get/set the height of the wave. It is the distance from the centre line (or the still position) to the top of a crest. or to the bottom of a trough.

<Float_Wave>.wave_length Float default: 100.0

Get/set the length of the wave, it describes how long the wave is. It is the distance from the "crest" (top) of one wave to the crest of the next wave.

<Float_Wave>.offset Float default: 0.0

Get/set the offset in value of the wave.

<Float_Wave>.phase Float default: 0.0

Get/set the offset of the wave.

<Float_Wave>.type Integer default: 0

Get/set the type of the wave:

0 - Sine.
1 - Loop.
2 - Zigzag.
3 - Half Sine.

<Float_Alignment>.alignment Integer default: 0

Get/set the alignment of the wave:

0 - Centered.
1 - Top.
2 - Bottom.



< Back to main maxscript documentation