Skip to content

createStompboxAppearancePatch

createStompboxAppearancePatch(preview, appearance?): StompboxResolvedAppearance

Defined in: packages/stompbox/src/index.ts:1945

StompboxPreview

Readonly<{ controls?: Readonly<Record<string, Readonly<{ audioJack?: Readonly<{ color?: …; emissive?: …; intensity?: …; metallicFactor?: …; offColor?: …; opacity?: …; pressedColor?: …; roughnessFactor?: …; strokeColor?: …; }>; dcJack?: Readonly<{ color?: …; emissive?: …; intensity?: …; metallicFactor?: …; offColor?: …; opacity?: …; pressedColor?: …; roughnessFactor?: …; strokeColor?: …; }>; footswitch?: Readonly<{ color?: …; emissive?: …; intensity?: …; metallicFactor?: …; offColor?: …; opacity?: …; pressedColor?: …; roughnessFactor?: …; strokeColor?: …; }>; label?: Readonly<{ color?: …; fontFamily?: …; fontSizeMm?: …; text?: …; }>; led?: Readonly<{ color?: …; emissive?: …; intensity?: …; metallicFactor?: …; offColor?: …; opacity?: …; pressedColor?: …; roughnessFactor?: …; strokeColor?: …; }>; }>>>; defaults?: Readonly<{ audioJack?: Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }>; dcJack?: Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }>; footswitch?: Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }>; label?: Readonly<{ color?: string; fontFamily?: string; fontSizeMm?: number; text?: string; }>; led?: Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }>; }>; enclosure?: Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }>; labels?: Readonly<Record<string, Readonly<{ color?: string; fontFamily?: string; fontSizeMm?: number; text?: string; }>>>; parts?: Readonly<Record<string, Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }>>>; template?: Readonly<{ color?: string; emissive?: boolean; intensity?: number; metallicFactor?: number; offColor?: string; opacity?: number; pressedColor?: string; roughnessFactor?: number; strokeColor?: string; }> & Readonly<{ centerDotColor?: string; foldColor?: string; guideColor?: string; holeFillColor?: string; holeStrokeColor?: string; }>; }>

StompboxResolvedAppearance