Duration
From IShell Wiki
The Timing of an element has a number of attributes. Any element with timing can act like a timer to control sequencing. Tween. Time, and Finished events are controlled by the Timing of the container element. Run, Set Rate, Set Time, Set Tweener, and Clear Tweener commands are effected by the Duration of the target element. Movie and Sound elements get their durations from their media, so they have their own kind of Timing attribute. Panoramas have no Timing attribute, but all other Model elements have a common Timing Attribute.
Contents |
[edit]
Options
- Duration: An integer representing the duration.
- TimeScale: Second, 10/s, Ticks, 100/s, 1000/s are different time scales. They are the units that determine how long the duration is in seconds. Ticks are 1/60 of a second (or 60/second) and are a common unit for computers and NTSC video.
- Looping: The Looping attribute determines if the time of the element will automatically reset to zero and continue to play again when it reaches the duration.
- Autorun: Element runs immediately when it is loaded.
- Rate: The Rate attribute is not editable. The initial rate is 100% and can be changed with the Set Rate command.
- Running: The Running attribute is not editable. The initial state is false, but it can be set during runtime with the Run command or manually with the Sound or Movie controller.
- Time: The Time attribute is not editable. The initial time is either 0 or determined by the media. The time is represented in the TimeScale. This attribute can be set with the Set Time command and will be dynamic when the element is running.
[edit]
Applicable elements
[edit]
Comments
The iShell Wiki is a community endeavor. Please add your comments regarding the Duration attribute, including how it can best be utilized in an iShell project.
[edit]
