ObjectStateSnapshot
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
interface ObjectStateSnapshotThe object state as ObjectStateManager.captureObjectState took it: copies, not the live sets
Members#
| Member | Kind | Description |
|---|---|---|
| colors | Property | The colour overrides: a fixed colour, or an alteration of the object's own colour (a number, as ColorChangeMap.alterQid takes it) |
| ghost | Property | The ghost set, ObjectStateManager.addToGhostSet |
| ghostDrawn | Property | The ghosts that ghosting hid: drawn as ghosts, and shown again when they leave the set |
| onTop | Property | The on-top set, ObjectStateManager.addToOnTopSet |
| pickabilityEnabled | Property | Whether pickability was on, ObjectStateManager.isPickabilityEnabled |
| unpickable | Property | The objects that cannot be picked, ObjectStateManager.removeFromPickableSet |
| unsectionable | Property | The objects section planes do not cut, ObjectStateManager.removeFromSectionableSet |
| versions | Property | The models loaded at the capture |
| visible | Property | The visible objects |
| xray | Property | The x-ray set, ObjectStateManager.addToXRaySet |
colors#
The colour overrides: a fixed colour, or an alteration of the object's own colour (a number, as ColorChangeMap.alterQid takes it)
ghost#
The ghost set, ObjectStateManager.addToGhostSet
ghostDrawn#
The ghosts that ghosting hid: drawn as ghosts, and shown again when they leave the set
onTop#
The on-top set, ObjectStateManager.addToOnTopSet
pickabilityEnabled#
readonly pickabilityEnabled: booleanWhether pickability was on, ObjectStateManager.isPickabilityEnabled
unpickable#
The objects that cannot be picked, ObjectStateManager.removeFromPickableSet
unsectionable#
The objects section planes do not cut, ObjectStateManager.removeFromSectionableSet
versions#
readonly versions: ReadonlySet<string>The models loaded at the capture
visible#
The visible objects
xray#
The x-ray set, ObjectStateManager.addToXRaySet