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

Additional properties can be added dynamically

Properties​

billboardMode​

billboardMode: Record<string, Record<string, BillboardModeType>>

Display mesh as a billboard

Inherited from​

WebGLProductConfig.billboardMode


customMeasurements​

customMeasurements: Record<string, CustomMeasurement<string>[]>

Custom measurements for dimensions

Inherited from​

WebGLProductConfig.customMeasurements


customMeasurementVisibility​

customMeasurementVisibility: Record<string, CustomMeasurementVisibilityState>

Runtime visibility state for separate custom measurements

Inherited from​

WebGLProductConfig.customMeasurementVisibility


dynamicHideMeshCodes​

dynamicHideMeshCodes: Record<string, string[]>

Dynamically hidden mesh codes for each product

Inherited from​

WebGLProductConfig.dynamicHideMeshCodes


freeSnapPoints​

freeSnapPoints: FreeSnaps

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


meshIdsToShow​

meshIdsToShow: Record<string, Record<string, MeshVisibilityType>>

List of meshes to enable for given instance. 0 means hidden, 1 means visible. -1 is only used for hotspot meshes and it means that hotspot should be hidden too

Inherited from​

WebGLProductConfig.meshIdsToShow


meshMaterialAssignments​

meshMaterialAssignments: Record<string, Record<string, string | undefined>>

Material assignments for meshes per each instanceId

Inherited from​

WebGLProductConfig.meshMaterialAssignments


morphTargetInfluences​

morphTargetInfluences: Record<string, Record<string, MeshMorphData>>

Mesh morph target influences for each product

Inherited from​

WebGLProductConfig.morphTargetInfluences


optionsDisability​

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

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


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


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