Skip to main content

Interface: ModularHistoryItem

Represents a change in a modular scene's configuration. Tracks the full state of a modular product configuration at a specific point, enabling undo/redo functionality and history navigation.

Extends

Indexable

[key: string]: any

Properties

dynamicHideMeshCodes

dynamicHideMeshCodes: Record<string, string[]>

Dynamically hidden mesh codes for each product

Inherited from

WebGLProductConfig.dynamicHideMeshCodes


dynamicMeshCodes

dynamicMeshCodes: Record<string, string[]>

Dynamically shown mesh codes for each product

Inherited from

WebGLProductConfig.dynamicMeshCodes


freeSnapPoints

freeSnapPoints: Record<string, SnapMeta[]>

Available connection points in the scene


hiddenHotSpots

hiddenHotSpots: Record<string, string[]>

Hidden information points for each product

Inherited from

WebGLProductConfig.hiddenHotSpots


hideMeshes

hideMeshes: Record<string, string[]>

Explicitly hidden meshes for each product

Inherited from

WebGLProductConfig.hideMeshes


highlightGroups

highlightGroups: Record<string, Record<string, string[]>>

Grouped mesh highlights for each product

Inherited from

WebGLProductConfig.highlightGroups


id

id: number

Unique identifier for this history entry


invertMeshes

invertMeshes: Record<string, InvertMeshesConfig>

Mesh mirroring configurations for each product

Inherited from

WebGLProductConfig.invertMeshes


key

key: string

String key for referencing this history state


materialIds

materialIds: Record<string, string[]>

Required material IDs for each product

Inherited from

WebGLProductConfig.materialIds


meshesToShow

meshesToShow: Record<string, string[]>

Explicitly visible meshes for each product

Inherited from

WebGLProductConfig.meshesToShow


optionsDisability

optionsDisability: Record<string, Record<string, Record<string, string | boolean>>>

Disabled state of options for each product

Inherited from

WebGLProductConfig.optionsDisability


optionsVisibility

optionsVisibility: Record<string, Record<string, Record<string, boolean>>>

Visibility state of options for each product

Inherited from

WebGLProductConfig.optionsVisibility


overrideMaterialParameters

overrideMaterialParameters: Record<string, OverrideParamsSimple>

Custom material parameter settings for each product

Inherited from

WebGLProductConfig.overrideMaterialParameters


overrideMaterials

overrideMaterials: Record<string, Record<string, string>>

Material replacements for each product

Inherited from

WebGLProductConfig.overrideMaterials


productElements

productElements: Record<string, ProductElement>

Map of all product elements in the scene


sceneSetup

sceneSetup: SceneSetup

Environment and camera configuration


selectedOptions

selectedOptions: Record<string, SelectedOptions>

Selected options for each product by instance ID

Inherited from

WebGLProductConfig.selectedOptions


selectedProducts

selectedProducts: Record<string, ModularSelectedProduct>

Map of all products in the scene by instance ID

Inherited from

WebGLProductConfig.selectedProducts


shadowTextures

shadowTextures: Record<string, string[]>

Shadow texture references for each product

Inherited from

WebGLProductConfig.shadowTextures


switchMaterials

switchMaterials: Record<string, Record<string, string>>

Material substitutions for each product

Inherited from

WebGLProductConfig.switchMaterials


usedModelIds

usedModelIds: Record<string, string[]>

3D model IDs required for each product

Inherited from

WebGLProductConfig.usedModelIds


variantCodes

variantCodes: VariantCodes

Configuration codes for each product instance

Inherited from

WebGLProductConfig.variantCodes