Skip to content

Documentation / @giro3d/piero / modules / loaders / PotreeLoader

Class: PotreeLoader ​

Defined in: packages/piero/src/modules/loaders/PotreeLoader.ts:37

Add support for Potree datasets.

Implements ​

Constructors ​

Constructor ​

new PotreeLoader(): PotreeLoader

Returns ​

PotreeLoader

Properties ​

id ​

readonly id: "builtin-loader-potree" = 'builtin-loader-potree'

Defined in: packages/piero/src/modules/loaders/PotreeLoader.ts:38

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: "Potree" = 'Potree'

Defined in: packages/piero/src/modules/loaders/PotreeLoader.ts:39

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/modules/loaders/PotreeLoader.ts:41

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize