|
27.
|
|
|
The interpolation statement can then contain a number of other clauses. When a property and value are present, then the value is the value the property will obtain at the end of the statement. The value can be obtained in several ways:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:152
|
|
28.
|
|
|
If the value is followed by one or two knots, then spline motion is used. The starting point is the value of the property at the start of the interpolation, the end point is the property value, and the knots are used to control the spline.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:156
|
|
29.
|
|
|
If the interpolation statement contains a "clockwise" or "counterclockwise" clause, circular motion is used, as described below.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:161
|
|
30.
|
|
|
Otherwise, the value is linearly interpolated between the start and end locations, using the completion fraction.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:164
|
|
31.
|
|
|
If a simple expression is present, it should evaluate to a transform with only a single interpolation statement, without a warper, splines, or circular motion. The properties from the transform are processed as if they were included in this statement.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:167
|
|
32.
|
|
|
Some sample interpolations are::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:172
|
|
33.
|
|
|
An important special case is that the pause warper, followed by a time and nothing else, causes ATL execution to pause for that amount of time.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:198
|
|
34.
|
|
|
Some properties can have values of multiple types. For example, the xpos property can be an int, float, or absolute. The behavior is undefined when an interpolation has old and new property values of different types.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:201
|
|
35.
|
|
|
Time Statement
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:206
|
|
36.
|
|
|
The time statement is a simple control statement. It contains a single simple_expression, which is evaluated to give a time, expressed as seconds from the start of execution of the containing block.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/atl.rst:208
|