UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

12 lines (11 loc) 714 B
import { Constructor } from '../../types/GlobalTypes'; import { Vector2, PerspectiveCamera, OrthographicCamera } from 'three'; export declare function CoreCameraViewOffsetParamConfig<TBase extends Constructor>(Base: TBase): { new (...args: any[]): { /** @param min */ min: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.VECTOR2>; /** @param max */ max: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.VECTOR2>; }; } & TBase; export declare function cameraSetViewOffset(camera: PerspectiveCamera | OrthographicCamera, resolution: Vector2): void;