UNPKG

whs

Version:

Super-fast 3D framework for Web Applications & Games. Based on Three.js

26 lines (20 loc) 530 B
import { CameraComponent, CameraComponentParams } from '../../core'; import {OrthographicCamera as OrthographicCameraNative} from 'three'; export interface OrthographicCameraParams extends CameraComponentParams { near?: number, far?: number, left?: number, right?: number, top?: number, bottom?: number } export class OrthographicCamera extends CameraComponent { /** * @param params */ constructor(params?: OrthographicCameraParams); build(): OrthographicCameraNative; }