[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


PAN_VP interrupt action

PAN_VP translates a specified viewport.

Syntax


---->(PAN_VP)--|viewport|--+-(:SCREEN_X)->-+--|factor|---->
                           |               |
                           +-(:SCREEN_Y)->-+

Options

The following options are available to translate your viewport.

When to use

Use this action to translate the specified viewport in the x or y direction. Entering a positive value moves the viewport contents to the right or up.

Example

The following parameter sequences pan viewport "vport1" so that the point currently in the center of the viewport, will be in the upper left-hand corner.

PAN_VP "vport1" :SCREEN_X -0.5

PAN_VP "vport1" :SCREEN_Y 0.5

See also

CENTER_VP interrupt action DYNAMIC_VP interrupt action SELECT_VP_SA subaction
[Contents] [Index] [Books]