I’m trying to figure out how to extract what properties can be used for a 3D Tile Style from a 3D Tileset.
The latest update I found was from 0ct 2020 where it sounded like there was no way to easily get this information out of the Cesium3DTileset and you need to examine the content files directly.
Is this something that others would have a need for? Has anyone done this and have some suggestions?
While trying to figure out what it would take to dig through the content payloads individually I did find that Model.fromGltfAsync could be helpful. It has a gltfCallback
which gives you access to the parsed glTF JSON. If the glTF is using EXT_structural_metadata you can extract the property values and type easily.
Unfortunately this isn’t 100% solution yet as it requires you to have loaded a viewer first to work around this issue
And I’m still not what to do if multiple classes have the same property name but different definitions 
Also realized that for 1.1 tilesets you can look at the 3DTILES_metadata properties in the tileset.json. That avoids having to dig into the content payloads if it is present.