Skip to content

Documentation / @giro3d/piero / modules / widgets / Coordinates

Class: Coordinates ​

Defined in: packages/piero/src/modules/widgets/coordinates/Coordinates.ts:6

Implements ​

Constructors ​

Constructor ​

new Coordinates(): Coordinates

Returns ​

Coordinates

Properties ​

id ​

readonly id: string = 'builtin-coordinates'

Defined in: packages/piero/src/modules/widgets/coordinates/Coordinates.ts:7

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 = 'Coordinates'

Defined in: packages/piero/src/modules/widgets/coordinates/Coordinates.ts:8

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): Promise<void>

Defined in: packages/piero/src/modules/widgets/coordinates/Coordinates.ts:10

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

Promise<void>

Implementation of ​

Module.initialize