Type Alias ViewerSettings
ViewerSettings: { axes: Partial<AxesSettings>; background: { color: THREE.Color }; camera: { allowedMovement: THREE.Vector3; allowedRotation: THREE.Vector2; controls: { moveSpeed: number; orbit: boolean; orbitSpeed: number; rotateSpeed: number; scrollSpeed: number; }; far: number; forward: THREE.Vector3; fov: number; gizmo: { color: THREE.Color; enable: boolean; opacity: number; opacityAlways: number; size: number; }; near: number; orthographic: boolean; zoom: number; }; canvas: { id: string | undefined; resizeDelay: number }; materials: { ghost: { color: THREE.Color; opacity: number }; highlight: { color: THREE.Color; opacity: number }; outline: { antialias: boolean; blur: number; color: THREE.Color; falloff: number; intensity: number; }; section: { strokeColor: THREE.Color; strokeFalloff: number; strokeWidth: number; }; standard: { color: THREE.Color }; }; rendering: { onDemand: boolean }; skybox: { enable: boolean; groundColor: THREE.Color; sharpness: number; skyColor: THREE.Color; }; skylight: { groundColor: THREE.Color; intensity: number; skyColor: THREE.Color; }; sunlights: { color: THREE.Color; followCamera: boolean; intensity: number; position: THREE.Vector3; }[];} Type declaration
background: { color: THREE.Color }
camera: {
allowedMovement: THREE.Vector3;
allowedRotation: THREE.Vector2;
controls: {
moveSpeed: number;
orbit: boolean;
orbitSpeed: number;
rotateSpeed: number;
scrollSpeed: number;
};
far: number;
forward: THREE.Vector3;
fov: number;
gizmo: {
color: THREE.Color;
enable: boolean;
opacity: number;
opacityAlways: number;
size: number;
};
near: number;
orthographic: boolean;
zoom: number;
}
allowedMovement: THREE.Vector3
allowedRotation: THREE.Vector2
controls: {
moveSpeed: number;
orbit: boolean;
orbitSpeed: number;
rotateSpeed: number;
scrollSpeed: number;
}
moveSpeed: number
orbit: boolean
orbitSpeed: number
rotateSpeed: number
scrollSpeed: number
far: number
forward: THREE.Vector3
fov: number
gizmo: {
color: THREE.Color;
enable: boolean;
opacity: number;
opacityAlways: number;
size: number;
}
color: THREE.Color
enable: boolean
opacity: number
opacityAlways: number
size: number
near: number
orthographic: boolean
zoom: number
canvas: { id: string | undefined; resizeDelay: number }
id: string | undefined
resizeDelay: number
materials: {
ghost: { color: THREE.Color; opacity: number };
highlight: { color: THREE.Color; opacity: number };
outline: {
antialias: boolean;
blur: number;
color: THREE.Color;
falloff: number;
intensity: number;
};
section: {
strokeColor: THREE.Color;
strokeFalloff: number;
strokeWidth: number;
};
standard: { color: THREE.Color };
}
ghost: { color: THREE.Color; opacity: number }
color: THREE.Color
opacity: number
highlight: { color: THREE.Color; opacity: number }
color: THREE.Color
opacity: number
outline: {
antialias: boolean;
blur: number;
color: THREE.Color;
falloff: number;
intensity: number;
}
antialias: boolean
blur: number
color: THREE.Color
falloff: number
intensity: number
section: { strokeColor: THREE.Color; strokeFalloff: number; strokeWidth: number }
strokeColor: THREE.Color
strokeFalloff: number
strokeWidth: number
standard: { color: THREE.Color }
rendering: { onDemand: boolean }
skybox: {
enable: boolean;
groundColor: THREE.Color;
sharpness: number;
skyColor: THREE.Color;
}
enable: boolean
groundColor: THREE.Color
sharpness: number
skyColor: THREE.Color
skylight: { groundColor: THREE.Color; intensity: number; skyColor: THREE.Color }
groundColor: THREE.Color
intensity: number
skyColor: THREE.Color
sunlights: {
color: THREE.Color;
followCamera: boolean;
intensity: number;
position: THREE.Vector3;
}[]
Viewer related options independant from vims