Project Settings
Configure branding, lighting, camera, loading screens, email, e-commerce, and webhooks.
Update Settings
const project = await client.updateProjectSettings('proj_123', {
// Branding
viewportBackgroundColor: '#1a1a2e',
primaryAccentColor: '#e94560',
actionButtonBgColor: '#e94560',
actionButtonHoverBgColor: '#c73450',
actionButtonTextColor: '#ffffff',
fontFamily: 'poppins',
sidebarWidth: 400,
compactMode: true,
// Lighting
environmentPreset: 'sunset',
lightIntensity: 1.2,
enableShadows: true,
// Camera
cameraFOV: 45,
enableAutoRotate: true,
autoRotateSpeed: 0.5,
// Features
enableAR: true,
showPrice: true,
enableForm: true,
// Webhooks
webhookUrl: 'https://your-server.com/webhook',
webhookEvents: ['configuration_changed', 'quote_requested'],
// Analytics
googleAnalyticsId: 'G-XXXXXXXXXX'
});