#define LAYER(_name,_props,_def) Layer { name "_name" _props states [ _def ] } #define STATE(_name,_props,_def) State { name "_name" _props controllers [ _def ] } #define ANIMATE(_name,_value) NumericAnimator { channelName "_name" value _value } #define CONSTANT(_name,_value) ANIMATE(_name, ConstantValue { value _value }) #define NOISE(_min,_max,_period,_bias,_gain,_phase) \ FunctionCurve { type "NOISE" min _min max _max \ period _period bias _bias gain _gain phase _phase }