TransitionStepChange
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
TypeScript#
interface TransitionStepChangeFor viewers: what ObjectStateListener.transitionStep receives, the net changes of one step
Members#
| Member | Kind | Description |
|---|---|---|
| camera | Property | The camera change, its query resolved and its duration filled in; null without one |
| colors | Property | Colours as colorChangedMulti receives them |
| deselected | Property | |
| duration | Property | Milliseconds the objects' changes take; 0: show them at once |
| easing | Property | |
| ghostAdded | Property | Objects that became ghosts drawn (as addedToGhostSet receives them; their hiding is in hidden) |
| ghostRemoved | Property | Drawn ghosts that left the ghost set (their showing is in shown) |
| hidden | Property | |
| reset | Property | Objects that went back to their own colour |
| selected | Property | |
| shown | Property | |
| start | Property | performance.now() time the step starts (it may lie a little in the past) |
| transition | Property | The transition, as transitionStopped names it |
| xrayAdded | Property | |
| xrayRemoved | Property |
camera#
TypeScript#
readonly camera: (TransitionCameraPose | TransitionCameraProjection | (Omit<TransitionCameraFit, "fit"> & { ...; })) & { ...; } | nullThe camera change, its query resolved and its duration filled in; null without one
colors#
TypeScript#
readonly colors: ColorChangesColours as colorChangedMulti receives them
deselected#
duration#
TypeScript#
readonly duration: numberMilliseconds the objects' changes take; 0: show them at once
easing#
TypeScript#
readonly easing: TransitionEasingghostAdded#
Objects that became ghosts drawn (as addedToGhostSet receives them; their hiding is in hidden)
ghostRemoved#
Drawn ghosts that left the ghost set (their showing is in shown)
hidden#
reset#
Objects that went back to their own colour
selected#
shown#
start#
TypeScript#
readonly start: numberperformance.now() time the step starts (it may lie a little in the past)
transition#
TypeScript#
readonly transition: numberThe transition, as transitionStopped names it