HyperWorks Desktop

*TimeScale()

Adjusts the animation running time for a single window.

*TimeScale()

Adjusts the animation running time for a single window.

Previous topic Next topic No expanding text in this topic  

*TimeScale()

Adjusts the animation running time for a single window.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*TimeScale(Number)

Arguments

Name

Description

 

Number

A value by which the total running time is multiplied.

Example

*BeginWindow(Animation)

   *IsActive()

   *TimeScale(2)

   *TimeDelay(0.2)

   *BeginGraphic()

       *LightInfo(0, 0, 1, 0.5, 0.5, 0.5, 64)

       *RotationAngle(15)

       *View(1, 0, 0, 0,

             0, 1, 0, 0,

             0, 0, 1, 0,

             0, 0, 0, 1)

       *Tracking(Off)

   *EndGraphic()

*EndWindow()

Application

HyperView and MediaView.

Context

*BeginWindow()

Comments

The animation running time of a window can be scaled to match the running time of other windows on the page.  The total animation time is multiplied by Number. Animation speed for the window is adjusted to fit the animation within the new running time.

See also

 

*TimeDelay()

List of Session Statements