|
17.
|
|
|
By default, statements in a block are executed in the order in which they appear, starting with the first statement in the block. Execution terminates when the end of the block is reached. Time statements change this, as described in the appropriate section below.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:107
|
|
18.
|
|
|
Execution of a block terminates when all statements in the block have terminated.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:112
|
|
19.
|
|
|
If an ATL statement requires evaluation of an expression, such evaluation occurs when the transform is first added to the scene list. (Such as when using a show statement or ui function.)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:115
|
|
20.
|
|
|
ATL Statements
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:120
|
|
21.
|
|
|
The following are the ATL statements.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:122
|
|
22.
|
|
|
Interpolation Statement
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:125
|
|
23.
|
|
|
The interpolation statement is the main way that ATL controls transformations.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:127
|
|
24.
|
|
|
The first part of the interpolation statement is used to select a function that time-warps the interpolation. (That is, a function from linear time to non-linear time.) This can either be done by giving the name of a warper registered with ATL, or by giving the keyword "warp" followed by an expression giving a function. Either case is followed by a number, giving the number of seconds the interpolation should take.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:137
|
|
25.
|
|
|
If no warp function is given, the interpolation is run for 0 seconds, using the pause function.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:144
|
|
26.
|
|
|
The warper and duration are used to compute a completion fraction. This is done by dividing the time taken by the interpolation by the duration of the interpolation. This is clamped to the duration, and then passed to the warper. The result returned by the warper is the completion fraction.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:147
|