PathFollowerHandle
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
TypeScript#
interface PathFollowerHandleMembers#
| 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: numberCurrent position as a fraction [0, 1] of the path length.
pause#
TypeScript#
pause(): voidplay#
TypeScript#
play(): voidseek#
TypeScript#
seek(fraction: number): voidJump to a fraction [0, 1] of the path.
Parameters#
| Name | Type | Description |
|---|---|---|
fraction |
number |
setSpeed#
TypeScript#
setSpeed(speedMmPerS: number): voidParameters#
| Name | Type | Description |
|---|---|---|
speedMmPerS |
number |
stop#
TypeScript#
stop(): void