Accessors
filteringState
Methods
hideObjects
- objectIds: The ids of the objects to hide
- optional stateKey: A way of splitting up commands coming from different controls (model explorer, filters, selection) so the viewer filtering api can know whether to reset its internal state or not
- optional includeDescendants: Whether to include the descendants of the provided object ids
- optional ghost Whether to ghost the rest of the objects
isolateObjects
- objectIds: The ids of the objects to hide
- optional stateKey: A way of splitting up commands coming from different controls (model explorer, filters, selection) so the viewer filtering api can know whether to reset its internal state or not
- optional includeDescendants: Whether to include the descendants of the provided object ids
- optional ghost Whether to ghost the rest of the objects
isolateObjects
removeUserObjectColors
resetFilters
setColorFilter
- prop: PropertyInfo
- optional ghost” Whether to ghost the rest of the objects
setUserObjectColors
If used appropriately user color filters can typically be much more performant than applying multiple materials per color.
- groups: Groups of objects organized by color
showObjects
- objectIds: The ids of the objects to hide
- optional stateKey: A way of splitting up commands coming from different controls (model explorer, filters, selection) so the viewer filtering api can know whether to reset its internal state or not
- optional includeDescendants: Whether to include the descendants of the provided object ids
unIsolateObjects
- objectIds: The ids of the objects to hide
- optional stateKey: A way of splitting up commands coming from different controls (model explorer, filters, selection) so the viewer filtering api can know whether to reset its internal state or not
- optional includeDescendants: Whether to include the descendants of the provided object ids
- optional ghost Whether to ghost the rest of the objects
Typedefs
FilteringState
- selectedObjects: The current selected object ids
- hidenObjects: The current hidden object ids
- isolatedObjects: The current isolated object ids
- colorGroups: The current color groups
- userColorGroups: The current user color groups
- activePropFilterKey: The active property filtering key
- passMin: The minimal value of the property filtering value if numeric
- passMax: The maximum value of the property filtering value if numeric
PropertyInfo
- key: The property key
- objectCount: The object count where the key is present
- type: Property type