Reference·JavaScript · @bimworks/viewercommonJavaScript

TransitionStepChange

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface TransitionStepChange

For 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"> & { ...; })) & { ...; } | null

The camera change, its query resolved and its duration filled in; null without one

colors#

TypeScript#
readonly colors: ColorChanges

Colours as colorChangedMulti receives them

deselected#

TypeScript#
readonly deselected: QidSet

duration#

TypeScript#
readonly duration: number

Milliseconds the objects' changes take; 0: show them at once

easing#

TypeScript#
readonly easing: TransitionEasing

ghostAdded#

TypeScript#
readonly ghostAdded: QidSet

Objects that became ghosts drawn (as addedToGhostSet receives them; their hiding is in hidden)

ghostRemoved#

TypeScript#
readonly ghostRemoved: QidSet

Drawn ghosts that left the ghost set (their showing is in shown)

hidden#

TypeScript#
readonly hidden: QidSet

reset#

TypeScript#
readonly reset: QidSet

Objects that went back to their own colour

selected#

TypeScript#
readonly selected: QidSet

shown#

TypeScript#
readonly shown: QidSet

start#

TypeScript#
readonly start: number

performance.now() time the step starts (it may lie a little in the past)

transition#

TypeScript#
readonly transition: number

The transition, as transitionStopped names it

xrayAdded#

TypeScript#
readonly xrayAdded: QidSet

xrayRemoved#

TypeScript#
readonly xrayRemoved: QidSet