Skip to content

Documentation / @giro3d/piero / index / configuration / dataset / Dataset

Interface: Dataset ​

Defined in: packages/piero/src/configuration/dataset.ts:6

Base for all datasets in a Piero configuration.

Extended by ​

Indexable ​

[key: string]: unknownInternal

Additional properties added by dataset loaders (e.g., url, position, etc).

Properties ​

attribution? ​

optional attribution?: string

Defined in: packages/piero/src/configuration/dataset.ts:10

The dataset attribution.


name ​

name: string

Defined in: packages/piero/src/configuration/dataset.ts:14

The name of the dataset to display in the UI.


opacity? ​

optional opacity?: number

Defined in: packages/piero/src/configuration/dataset.ts:19

The dataset's default opacity.

Default Value ​

ts
1

type ​

type: string

Defined in: packages/piero/src/configuration/dataset.ts:24

The dataset type key, used to determine which loader to use. Note: cannot be group, as it is a reserved word.


visible? ​

optional visible?: boolean

Defined in: packages/piero/src/configuration/dataset.ts:29

The dataset's default visibility.

Default Value ​

ts
false