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?
optionalattribution?: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?
optionalopacity?:number
Defined in: packages/piero/src/configuration/dataset.ts:19
The dataset's default opacity.
Default Value
1type
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?
optionalvisible?:boolean
Defined in: packages/piero/src/configuration/dataset.ts:29
The dataset's default visibility.
Default Value
false