MATLAB SIMULINK 3D ANIMATION - S User's Guide Page 359

  • Download
  • Add to my manuals
  • Print
  • Page
    / 490
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 358
vr.canvas class
10-19
Examples
Create a Canvas That Displays in a Figure
Create and open a vrworld object.
myWorld = vrworld('vrlights.wrl');
open(myWorld);
Create a figure to use as the parent of the canvas.
fig = figure;
Create a canvas. Use a figure as the parent and specify the position.
myCanvas = vr.canvas(myWorld,'Parent'fig,'Units','normalized'...
,'Position',[0 0 1 1]);
Page view 358
1 2 ... 354 355 356 357 358 359 360 361 362 363 364 ... 489 490

Comments to this Manuals

No comments