| Virtual Reality Toolbox™ | ![]() |
vrplay
vrplay(filename)
x=vrplay(filename)
vrplay opens the Virtual Reality animation player GUI that allows you to open and play VRML animation files.
vrplay(filename) opens the Virtual Reality animation player GUI and loads the virtual world filename.
x=vrplay(filename) also returns a Virtual Reality animation player GUI figure handle.
vrplay works only with VRML animation files created using the Virtual Reality Toolbox™ VRML recording functionality.

The GUI's playback controls can also be accessed from the keyboard.
| Key | Function |
|---|---|
| F, Page Down | Fast forward |
| J | Jump to time |
| L | Loop |
| P | Play/pause toggle |
| S | Stop |
| R, Page Up | Rewind |
| Right arrow key | Step forward |
| Left arrow key | Step reverse |
| Up arrow key | First |
| Down arrow key | Last |
To play the animation file based on the vr_octavia demo, run vrplay('octavia_scene_anim.wrl').
Recording Offline Animations, vrview
![]() | vrori2dir | vrrotvec | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |