Main Content

initialize

(To be removed) Create and populate virtual reality animation object

initialize will be removed in a future release.

Description

initialize(h) create a virtual reality animation world and populate the virtual reality animation object h. If a previously initialized virtual reality animation object exists, and that object has user-specified data, this function saves the previous object to be reset after the initialization.

example

Examples

collapse all

This example shows how to initialize the virtual reality animation object, h.

h = Aero.VirtualRealityAnimation;
h.VRWorldFilename = 'asttkoff.wrl';
h.initialize();

Figure VR Plane Take-Off contains objects of type hgjavacomponent, uimenu, uipanel, uitoolbar.

Input Arguments

collapse all

Virtual reality animation object, specified as an Aero.VirtualRealityAnimation object.

Version History

Introduced in R2007b

expand all

See Also

|