Skip to content

Documentation / @giro3d/piero / modules / misc / DownloadDataset

Class: DownloadDataset ​

Defined in: packages/piero/src/modules/misc/DownloadDataset.ts:31

Adds a button to download a dataset from its URL.

Implements ​

Constructors ​

Constructor ​

new DownloadDataset(): DownloadDataset

Returns ​

DownloadDataset

Properties ​

id ​

readonly id: string = 'builtin-download-dataset'

Defined in: packages/piero/src/modules/misc/DownloadDataset.ts:32

The unique id of the module, that also acts as a key to find the module configuration in the app configuration.

Implementation of ​

Module.id


name ​

readonly name: string = 'Download dataset'

Defined in: packages/piero/src/modules/misc/DownloadDataset.ts:33

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void

Defined in: packages/piero/src/modules/misc/DownloadDataset.ts:37

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void

Implementation of ​

Module.initialize