AlignLinearRel
double AlignLinearRel (object master_0, object master_1, object slave, double param, double additive)
Return Value: 1 = success, 0 = failure
Arguments:
master_0 |
first master item |
master_1 |
second master item |
slave |
item to be positioned |
param |
position between master_0 and master_1 ( 0.0 -> 1.0 ) (allows over-interpolation) |
additive |
0.0 = don't add slave's motion, 1.0 = add slave's motion ( 0.0 -> 1.0 ) (does not allow over-interpolation) |
This function is the same as AlignLinearAbs( ) except that instead of the last arg being a fader it determines how much the item's existing motion is added to the result of this function.
Example:
Exp_1
|_ AlignLinearAbs(Null_1, Null_2, Null, 0.5, 0.5 )
Positions Null half-way between Null_1 and Null_2, then adds half of Null's motion (i.e. xpos*0.5, ypos*0.5, zpos*0.5)
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |