Reference·JavaScript · @bimworks/viewer3dJavaScript

FigureLayers

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface FigureLayers

Members#

Member Kind Description
add Method Draws the entries under key, replacing (and clearing) a layer with that key
clear Method
get Method
remove Method

add#

TypeScript#
add(key: string, entries: (FigureEntry)[], options?: FigureLayerOptions): FigureLayerHandle

Draws the entries under key, replacing (and clearing) a layer with that key

Parameters#

Name Type Description
key string
entries (FigureEntry)[]
options FigureLayerOptions

clear#

TypeScript#
clear(): void

get#

TypeScript#
get(key: string): FigureLayerHandle | undefined

Parameters#

Name Type Description
key string

remove#

TypeScript#
remove(key: string): void

Parameters#

Name Type Description
key string