TransitionStep
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
interface TransitionStepOne step of ObjectStateManager.transition: these changes at once, as the methods of the same meaning
make them. They apply in this order: unghost, visible, show, hide, ghost, the selection keys, the x-ray keys,
resetColors, colors, camera
Members#
| Member | Kind | Description |
|---|---|---|
| camera | Property | |
| colors | Property | As changeColorMulti: fixed colours (an alpha below 1 makes the objects transparent) and transparency alterations of the objects' own colours. Disposed once i… |
| deselect | Property | As removeFromSelectionSet |
| duration | Property | Milliseconds, default 500. A step lasts the longer of this and camera.duration; the next one starts when it ends. A step without changes is a pause. 0: at on… |
| easing | Property | Default "ease-in-out"; the camera keeps its own smooth curve |
| ghost | Property | As addToGhostSet, after the visibility keys: ghosting hides what is visible at that point and draws it as a ghost |
| ghosted | Property | Exactly these objects ghosts, as setGhostSet: the others leave the set before the visibility keys, these join it after them |
| hide | Property | As removeFromVisibleSet; after show, so an object in both ends up hidden |
| resetColors | Property | Back to their own colour, as resetColor; before colors |
| select | Property | As addToSelectionSet |
| selected | Property | Exactly these objects selected, as setSelectionSet; after the visibility keys, so it wins over the deselection of hidden objects |
| show | Property | As addToVisibleSet |
| unghost | Property | As removeFromGhostSet, before the visibility keys: leaving the set shows what ghosting hid |
| unxray | Property | As removeFromXRaySet |
| visible | Property | Exactly these objects visible, as setVisibleSet |
| xray | Property | As addToXRaySet |
| xrayed | Property | Exactly these objects in the x-ray set, as setXRaySet |
camera#
camera?: TransitionCameraFit | TransitionCameraPose | TransitionCameraProjectioncolors#
colors?: ColorChangeMapAs changeColorMulti: fixed colours (an alpha below 1 makes the objects transparent) and transparency alterations of the objects' own colours. Disposed once its queries have resolved
deselect#
As removeFromSelectionSet
duration#
duration?: numberMilliseconds, default 500. A step lasts the longer of this and camera.duration; the next one starts when it ends. A step without changes is a pause. 0: at once, and a chain of 0 ms steps applies in one go
easing#
easing?: TransitionEasingDefault "ease-in-out"; the camera keeps its own smooth curve
ghost#
As addToGhostSet, after the visibility keys: ghosting hides what is visible at that point and draws it as a ghost
ghosted#
Exactly these objects ghosts, as setGhostSet: the others leave the set before the visibility keys, these join it after them
hide#
As removeFromVisibleSet; after show, so an object in both ends up hidden
resetColors#
Back to their own colour, as resetColor; before colors
select#
As addToSelectionSet
selected#
Exactly these objects selected, as setSelectionSet; after the visibility keys, so it wins over the deselection of hidden objects
show#
As addToVisibleSet
unghost#
As removeFromGhostSet, before the visibility keys: leaving the set shows what ghosting hid
unxray#
As removeFromXRaySet
visible#
Exactly these objects visible, as setVisibleSet
xray#
As addToXRaySet
xrayed#
Exactly these objects in the x-ray set, as setXRaySet