D3D.Play

Previous  Next

 

status = D3D.Play( nControl  AS INTEGER,

                   direction AS INTEGER  ) AS INTEGER

 


 

Starts or stops playing the current file in the Dynamic 3D Viewer.  Direction can be forward (1), reverse (-1) or stopped (0).  Returns the current direction or stopped (0).

 

The following constants have been define in MyBASIC2_MaxD3D.BAS

 

' Play Direction Constants

CONST MD_Stopped       = 0

CONST MD_Forward       = 1

CONST MD_Reverse       = -1

 

Example:

 

D3D.Play( nControl, MD_Forward )

CALL WaitKey

D3D.Play( nControl, MD_Stop )