Chargement de l'aide...
Chargement...
import { ProductConfigurator3D } from '@luneo/react';
function MyConfigurator() {
return (
<ProductConfigurator3D
productId="prod_xxx"
modelUrl="/models/chair.glb"
config={{
camera: { fov: 45, position: [0, 0, 5] },
lights: { ambient: 0.5, directional: 1.0 },
materials: ['wood', 'metal', 'fabric']
}}
onExportAR={(url) => {
logger.info('AR URL:', url);
}}
/>
);
}