feat(viewer): adds buttons for some of the new functionality in the example app

This commit is contained in:
Dimitrie Stefanescu
2021-04-23 20:02:08 +01:00
parent 3165b8ad01
commit a5dcff873e
3 changed files with 16 additions and 18 deletions
+6
View File
@@ -36,6 +36,12 @@
</div>
<div class="twelve columns">
<button onclick="v.sceneManager.removeAllObjects()">Dispose Everything</button>
View:
<button onclick="v.interactions.rotateTo('top')">Top</button>
<button onclick="v.interactions.rotateTo('front')">Front</button>
<button onclick="v.interactions.rotateTo('back')">Back</button>
<button onclick="v.interactions.rotateTo('left')">Left</button>
<button onclick="v.interactions.rotateTo('right')">Right</button>
</div>
</div>
<div class="row">