Object metadata
Object metadata is not loaded automatically with the scene and may require additional server requests depending on what data you need.
Generally you will work with either HierarchicalObjectReference
or the full ObjectData
metadata set.
From pick​
If you are not already familiar with picking, see Object selection first.
Loading...
From search​
If you are not already familiar with searching, see Searching first.
Loading...
Fly to objects​
The previous examples show how to load object data and dump it in a box.
In this example we will show how to fly to objects using CameraController.zoomTo()
.
When the example is run it will first do a quick search for 4 objects and fly to them. After that it will fly to any object you click.
Loading...