Item Animation Related System Attributes

From Planimate Knowledge Base
Revision as of 15:07, 14 December 2008 by Tony.Griffith (talk | contribs)
Jump to navigation Jump to search

Item Animation Related System Attributes

These attributes are intended for run time assignment so their settings are not currently saved with the model and in fact cannot be edited directly, only via a routine calculation.



Name

Read / Write

Description



ItemXScale  /  ItemYScale

R/W

These enable an item's image to be scaled in the x and y direction.

They are specified as a percentage, normally 100.


ItemImageXStep  /  ItemImageYStep

R/W

These control how stepping through images is performed (for multi-icon items)

If X step is non zero, the x co-ordinate divided by the value is used to index an image, the default of 8 changes the image every 8 screen pixels.

Likewise for Y (by default this is 0)


ItemImageTimeStepMS

R/W

The Time Step value uses the system real time clock to step images at a specified time interval (20ms is a good start) so the image will change at a regular interval no matter how fast the item is moving.

Note: Time stepping cannot be used to animate items or objects which are not actually moving. Yet.