Reference·JavaScript · @bimworks/viewer3dJavaScript

PathFollowerHandle

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface PathFollowerHandle

Members#

Member Kind Description
progress Property Current position as a fraction [0, 1] of the path length.
pause Method
play Method
seek Method Jump to a fraction [0, 1] of the path.
setSpeed Method
stop Method

progress#

TypeScript#
readonly progress: number

Current position as a fraction [0, 1] of the path length.

pause#

TypeScript#
pause(): void

play#

TypeScript#
play(): void

seek#

TypeScript#
seek(fraction: number): void

Jump to a fraction [0, 1] of the path.

Parameters#

Name Type Description
fraction number

setSpeed#

TypeScript#
setSpeed(speedMmPerS: number): void

Parameters#

Name Type Description
speedMmPerS number

stop#

TypeScript#
stop(): void