Vrealm canvas inside a panel in guide
3 views (last 30 days)
Show older comments
How to implement a vrealm world canvas inside a gui uipanel that i created in the guide editor.
I tried :
World = vrworld(vrml1.wrl, 'new') ;
Open(world) ;
Vrcanvas = vr.canvas(world,handles.uipanel1);
But that did not work. Also tried :
Vrcanvas = vr.canvas(world,get(handles.uipanel1) );
But that did not work either. Can you please help me get the syntax right.
0 Comments
Accepted Answer
Walter Roberson
on 29 Dec 2017
myCanvas = vr.canvas(World, 'Parent', handles.uipanel1, 'Units',...
'normalized', 'Position', [0 0 1 1]);
Note: watch out for World (what you assigned to) compared to world (which you used within initializing)
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!