ReadonlycontainerEdge indices allocated per vertex: above the 1.0-1.8 measured on .mgeom format 2 files.
ReadonlycontainerTriangle indices of a Container made for a few geometries (1,000,000: 10 MB with its
vertices and edges, following from the ratios below), e.g. objects added one by one: they go
where there is room, a new Container of this size made when none has. The new geometries of
an addition larger than it go together to a Container of their exact size (e.g. a group of
the MeshLoader). Each Container is a draw call per pass in WebGL2 and an emit pass in
WebGPU.
ReadonlycontainerTriangle indices per vertex, giving the vertices of a Container: the lowest of the 4.0-5.4 measured on .mgeom format 2 files (flat triangles share their vertices), so the indices fill up first.
ReadonlycontainerBytes of a Container of the exact size at most, in MB (10^6 bytes): an addition larger is split into several (a geometry larger alone takes one of its own). 120 MB keeps each of its arrays under the 128 MiB of a storage buffer every WebGPU device binds.
ReadonlydefaultEdge colour of the parts whose input gives none, sRGB: applies to the parts added after.
ReadonlyiconDrawn by an interface before its title.
ReadonlyinstanceInitial capacity of the InstanceTable, in instances; it grows by doubling.
ReadonlyopaqueParts drawn with this opacity or more are opaque; those of a lower one are transparent:
drawn after the opaque parts of their layer, blended, without writing the depth, in no
particular order (as TeiaViewer). The opacity drawn is the part's, times xRayOpacity when
x-ray (InstanceTable.getDrawnOpacity). Read at the creation of the scene.
ReadonlyselectionColour of the selected objects' faces, sRGB: ochre. Their opacity is kept.
ReadonlyselectionColour of the selected objects' edges, sRGB.
ReadonlyselectionWhether the selected objects are drawn in the top layer (MeshLayer.Layer4), over the other
objects, seen through them; else in their own layer, which they keep either way.
ReadonlyshowWhether the parts' sharp edges are drawn, in each part's edge colour.
ReadonlytitleShown by an interface above its settings.
ReadonlyxThe opacity of the objects seen through (MeshProxy.xRay) is multiplied by this, their
edges' too: 1 draws them as they are.
Sets the settings config gives, each validated (see ValueController.validate): a value
refused is skipped with a warning, the others set. The keys that are not settings are ignored
(e.g. of a config saved by another version).
Disconnects every listener of the settings: they are not used after.
The values changed from their default, group by group: a config for applyConfig.
Every setting, in the order of the fields, a group's in place.
Sets the settings saved under key in the local storage (saveToLocalStorage); none
saved: unchanged. A value refused (e.g. by a later version) is skipped with a warning, the
others set (see applyConfig); saved settings that cannot be read are ignored with a
warning.
Sets every setting back to its default.
Saves the values changed from their default under key in the local storage, the key removed
when none is: the others follow the defaults of the next versions.
The settings of the meshes (MeshController): their selection, x-ray and edges, applied live; their transparency threshold and how they are stored (Containers, the
InstanceTable),hidden, read at the creation of the scene.