| Aerospace Toolbox | ![]() |
h = Aero.VirtualRealityAnimation
h = Aero.VirtualRealityAnimation constructs a virtual reality animation object. The animation object is returned to h.
The animation object has the following methods and properties.
| Constructor | Description |
|---|---|
| VirtualRealityAnimation | Construct virtual reality animation object. |
| Method | Description |
|---|---|
| addNode | Add existing node to current virtual reality world. |
| addRoute | Add VRML ROUTE statement to virtual reality animation. |
| addViewpoint | Add viewpoint for virtual reality animation. |
| delete | Destroy virtual reality animation object. |
| initialize | Create and populate virtual reality animation object. |
| nodeInfo | Create list of nodes associated with virtual reality animation object. |
| play | Animate virtual reality world for given position and angle in time series data. |
| removeNode | Remove node from virtual reality animation object. |
| removeViewpoint | Remove viewpoint node from virtual reality animation. |
| saveas | Save virtual reality world associated with virtual reality animation object. |
| updateNodes | Set new translation and rotation of moveable items in virtual reality animation. |
Aero.VirtualRealityAnimation methods that change the current virtual reality world use a temporary .wrl file to manage those changes. These methods include:
Be aware of the following behavior:
After the methods make the changes, they reinitialize the world, using the information stored in the temporary .wrl file.
When you delete the virtual reality animation object, this action deletes the temporary file.
Use the saveas method to save the temporary .wrl file.
These methods do not affect user-created .wrl files.
| Property | Description | Values |
|---|---|---|
| Name | Specify name of the animation object. | string |
| VRWorld | Returns the vrworld object associated with the animation object. | MATLAB array |
| VRWorldFilename | Specify the .wrl file for the vrworld. | string |
| VRWorldOldFilename | Specify the old .wrl files for the vrworld. | MATLAB array |
| VRWorldTempFilename | Specify the temporary .wrl file for the animation object. | string |
| VRFigure | Returns the vrfigure object associated with the animation object. | MATLAB array |
| Nodes | Specify the nodes that the animation object contains. | MATLAB array |
| Viewpoints | Specify the viewpoints that the animation object contains. | MATLAB array |
| TimeScaling | Specify the time scaling, in seconds. | double |
| Tstart | Specify the time, in seconds. | double |
| TFinal | Specify end time, in seconds. | double |
| TCurrent | Specify current time, in seconds. | double |
| FramesPerSecond | Specify rate, in frames per second. | double |
| ShowSaveWarning | Specify save warning display setting. | double |
![]() | Aero.Viewpoint | AC3D Files and Thumbnails | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |