FigureLayers
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
TypeScript#
interface FigureLayersMembers#
| 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): FigureLayerHandleDraws 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(): voidget#
TypeScript#
get(key: string): FigureLayerHandle | undefinedParameters#
| Name | Type | Description |
|---|---|---|
key |
string |
remove#
TypeScript#
remove(key: string): voidParameters#
| Name | Type | Description |
|---|---|---|
key |
string |