13.07.2015 Views

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Media Data Atom TypesTween Medialist tween to animate sprites. The kTweenEntry atom for the tween atom could contain three setsof animation data, one for moving the sprite from left to right, one for moving the sprite from rightto left, and one for moving the sprite from top to bottom. In this case, the kTweenEntry atom forthe tween atom would contain three kTweenData atoms, one for each data set. The applicationspecifies the desired data set by specifying the ID of the kTweenData atom to use.A kTweenEntry atom can contain any of the following optional child atoms:●●A kTweenStartOffset atom that specifies a time interval, beginning at the start of the tweenmedia sample, after which the tween operation begins. If this atom is not included, the tweenoperation begins at the start of the tween media sample.A kTweenDuration atom that specifies the duration of the tween operation. If this atom is notincluded, the duration of the tween operation is the duration of the media sample that contains it.If a kTweenEntry atom specifies a path tween, it can contain the following optional child atom:●A kTweenFlags atom containing flags that control the tween operation. If this atom is not included,no flags are set.Note that interpolation tween tracks are tween tracks that modify other tween tracks. The outputof an interpolation tween track must be a time value, and the time values generated are used inplace of the input time values of the tween track being modified.If a kTweenEntry atom specifies an interpolation tween track, it must contain the following childatoms:●A kTweenInterpolationID atom for each kTweenData atom to be interpolated. The ID of eachkTweenInterpolationID atom must match the ID of the kTweenData atom to be interpolated.The data for a kTweenInterpolationID atom specifies a kTweenEntry atom that contains theinterpolation tween track to use for the kTweenData atom.If this atom specifies an interpolation tween track, it can contain either of the following optionalchild atoms:●●A kTweenOutputMin atom that specifies the minimum output value of the interpolation tweenatom. The value of this atom is used only if there is also a kTweenOutputMax atom with the sameparent. If this atom is not included and there is a kTweenOutputMax atom with the same parent,the tween component uses 0 as the minimum value when scaling output values of the interpolationtween track.A kTweenOutputMax atom that specifies the maximum output value of the interpolation tweenatom. If this atom is not included, the tween component does not scale the output values of theinterpolation tween track.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.239

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!