Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Make the camera for a saved view and capture it as an image.
import { captureRasterView, createRasterIsometricCamera, fitRasterIsometricFrame, createPhysicalViewCamera, } from '@opengeometry/floorkit';
function captureRasterView( renderer: THREE.WebGLRenderer, scene: THREE.Scene, options: CaptureRasterViewOptions, ): CapturedRasterView;
function createRasterIsometricCamera(view: SavedRasterIsometricView): THREE.OrthographicCamera;
function fitRasterIsometricFrame( view: SavedRasterIsometricView, bounds: THREE.Box3, padding?: number, ): RasterViewFrame;
function createPhysicalViewCamera( volume: PhysicalViewVolume, elevationDepth?: number, frontDepth?: number, ): THREE.OrthographicCamera;
interface CaptureRasterViewOptions { camera: THREE.Camera; width: number; height: number; background?: string | null; }
interface CapturedRasterView { src: string; pixelWidth: number; pixelHeight: number; }
interface RasterViewFrame { left: number; right: number; bottom: number; top: number; }
PhysicalViewVolume
SavedRasterIsometricView