Skip to content

Interface: AppearancePatch

Defined in: packages/viewer-core/src/public/types.ts:54

Partial appearance update passed to model.setNodesAppearance. Only the keys present in the object are applied; absent keys leave the current state unchanged. A value of null explicitly unsets that channel (restoring inheritance), while undefined (absent) leaves it alone.

Properties

color?

optional color?: Color | null

Defined in: packages/viewer-core/src/public/types.ts:55


presetId?

optional presetId?: string | null

Defined in: packages/viewer-core/src/public/types.ts:57


surface?

optional surface?: SurfaceOverride | null

Defined in: packages/viewer-core/src/public/types.ts:56