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 the guide for Object selection first.
From search
If you are not already familiar with searching, see Searching guide first.
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 BaseController.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.