Item Animation Related System Attributes: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
mNo edit summary
m (order change, created headings)
 
Line 15: Line 15:
<br>  
<br>  


'''ItemXScale&nbsp; /&nbsp; ItemYScale '''  
=== '''ItemImageTimeStepMS ''' ===


R/W  
R/W  


These enable an item's image to be scaled in the x and y direction.  
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.  


They are specified as a percentage, normally 100.


<br>


'''ItemImageXStep&nbsp; /&nbsp; ItemImageYStep '''  
=== '''ItemImageXStep''' ===


R/W  
R/W  
Line 33: Line 33:
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.  
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)
By default this is zero.


<br>  
<br>  


'''ItemImageTimeStepMS '''  
=== '''ItemImageYStep ''' ===


R/W  
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.  
These control how stepping through images is performed (for multi-icon items)
 
If Y step is non zero, the y co-ordinate divided by the value is used to index an image, the default of 8 changes the image every 8 screen pixels.
 
By default this is zero.
 
 
 
=== '''ItemXScale '''  ===
 
R/W
 
These enable an item's image to be scaled in the x direction.
 
They are specified as a percentage, normally 100.
 
 
 
 
 
=== '''ItemYScale '''  ===
 
R/W
 
These enable an item's image to be scaled in the y direction.
 
They are specified as a percentage, normally 100.  


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


[[Category:Runtime_Engine]] [[Category:Routine]] [[Category:Item]] [[Category:Attribute]]
[[Category:Runtime_Engine]] [[Category:Routine]] [[Category:Item]] [[Category:Attribute]]

Latest revision as of 21:39, 4 January 2009

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



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.


ItemImageXStep

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.

By default this is zero.


ItemImageYStep

R/W

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

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

By default this is zero.


ItemXScale

R/W

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

They are specified as a percentage, normally 100.



ItemYScale

R/W

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

They are specified as a percentage, normally 100.