@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
16 lines (15 loc) • 737 B
TypeScript
import { Constructor } from '../../types/GlobalTypes';
export declare enum CameraFrameMode {
DEFAULT = "default",
COVER = "cover",
CONTAIN = "contain"
}
export declare const CAMERA_FRAME_MODES: CameraFrameMode[];
export declare function CoreCameraFrameParamConfig<TBase extends Constructor>(Base: TBase): {
new (...args: any[]): {
/** @param fov adjust mode */
frameMode: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.INTEGER>;
/** @param expected aspect ratio */
expectedAspectRatio: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.FLOAT>;
};
} & TBase;