MutableChangeFlags Class
A ChangeFlags that permits modifying the states of individual ChangeFlags.
Extends
Methods
Name | Description | |
---|---|---|
constructor(flags: ChangeFlag = ChangeFlag.Initial): MutableChangeFlags | Create a new MutableChangeFlags. | |
clear(flags: ChangeFlag = ChangeFlag.All): void | Clear all of the specified flags. | |
setAlwaysDrawn(): void | ||
setDisplayStyle(): void | ||
setFeatureOverrideProvider(): void | ||
setNeverDrawn(): void | ||
setViewState(): void | ||
setViewedCategories(): void | ||
setViewedCategoriesPerModel(): void | ||
setViewedModels(): void |
Inherited methods
Name | Inherited from | Description |
---|---|---|
areAllSet(flags: ChangeFlag): boolean | ChangeFlags | Returns true if all of the specified flags are set. |
isSet(flags: ChangeFlag): boolean | ChangeFlags | Returns true if any of the specified flags are set. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
_flags Protected | ChangeFlag | ChangeFlags | The bitmask that records the state of each individual flag. |
alwaysDrawn Accessor ReadOnly | boolean | ChangeFlags | The set of always-drawn elements has changed. |
areFeatureOverridesDirty Accessor ReadOnly | boolean | ChangeFlags | Returns true if any aspects affecting FeatureSymbology.Overrides have changed. |
displayStyle Accessor ReadOnly | boolean | ChangeFlags | The DisplayStyleState or its settings such as ViewFlags have changed. |
featureOverrideProvider Accessor ReadOnly | boolean | ChangeFlags | The FeatureOverrideProvider has changed, or its internal state has changed such that its overrides must be recomputed. |
hasChanges Accessor ReadOnly | boolean | ChangeFlags | Returns true if any aspect at all has changed. |
neverDrawn Accessor ReadOnly | boolean | ChangeFlags | The set of never-drawn elements has changed. |
value Accessor ReadOnly | ChangeFlag | ChangeFlags | The underlying bitmask indicating the state of each individual flag. |
viewedCategories Accessor ReadOnly | boolean | ChangeFlags | The set of displayed categories defined by the viewport's CategorySelectorState has changed. |
viewedCategoriesPerModel Accessor ReadOnly | boolean | ChangeFlags | The PerModelCategoryVisibility.Overrides associated with the viewport have changed. |
viewedModels Accessor ReadOnly | boolean | ChangeFlags | The set of models to be displayed in the viewport has changed. |
viewState Accessor ReadOnly | boolean | ChangeFlags | changeView was used to replace the previous ViewState with a new one. |
Defined in
- core/frontend/src/ChangeFlags.ts Line 107
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.