getRealityModelTreeRefs Method @beta
Iterate the reality models in this view, including both context reality models attached to the DisplayStyleState and persistent reality models. Each yielded ViewRealityModel provides the TileTreeReference along with a display name and description when available.
Context reality models that are marked invisible are excluded. Persistent reality models whose tile trees have not yet loaded are also excluded.
getRealityModelTreeRefs(): Iterable<ViewRealityModel, any, any>
@see - realityModels for context reality models only.
- getTileTreeRefs for all tile tree references in this view.
Returns - Iterable<ViewRealityModel, any, any>
Defined in
- core/frontend/src/ViewState.ts Line 574
Last Updated: 25 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.