SceneOptions type
Options for SceneInterface.
Signature:
type SceneOptions = {
autoRotate: boolean;
camera: SceneCamera | {
fov?: number;
position?: [number, number, number];
rotation?: [number, number, number];
target?: [number, number, number];
};
controls: boolean;
environment: 'auto' | {
url: string;
} | false;
lighting: 'auto' | false;
fps: number;
layout: SceneLayout;
size: 'auto' | [number, number];
target: Design | undefined;
type: 'default' | 'depth' | 'edge';
zoom: number;
};
References: SceneCamera, SceneLayout, Design