Open frederic-schwarz opened 6 years ago
using io3d.scene.getAframeElements() gives you tour-waypoints but some data is missing:
io3d.scene.getAframeElements()
tour-waypoints
fov
mode
index
{ "type": "camera-bookmark", "children": [], "id": "48d6ca58-76af-48f1-940e-0d9361c2131e", "mode": "bird", "ry": 205.12141931698014, "rx": -53.84165060326978, "x": -5.186660575811318, "y": 0.5, "z": -0.7195652558501257, "distance": 10.687530728855858, "displayInUI": true, "activeLevelId": "cf754507-39e8-42bb-a899-f055e2d8983f", "visibleLevelIds": [ "cf754507-39e8-42bb-a899-f055e2d8983f", "8a98a9d6-759a-4472-a1a5-84b326f7f72f" ], "hiddenLevelIds": [], "index": 0, "fov": 50 }
current tour-waypoint entity
<a-entity tour-waypoint="Bedroom" io3d-uuid="4d6fec29-1467-40be-8f91-5435f0317072" position="-9.65 8 2.13" rotation="-59.15 594.75 0"></a-entity>
possible adaptation:
<a-entity tour-waypoint="name:Bedroom; fov:50; mode:bird" io3d-uuid="4d6fec29-1467-40be-8f91-5435f0317072" position="-9.65 8 2.13" rotation="-59.15 594.75 0"></a-entity>
this needs adaptation in
what do you think @AVGP ?
using
io3d.scene.getAframeElements()
gives youtour-waypoints
but some data is missing:fov
( camera Angle )mode
( bird, floorplan, ... ) can be used later for visibilty thingsindex
( order of the menu + playback ) could be solved be rearranging on importcurrent tour-waypoint entity
possible adaptation:
this needs adaptation in
what do you think @AVGP ?