UNPKG

@polygonjs/polygonjs

Version:

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

38 lines (37 loc) 1.91 kB
/** * Creates a cube camera. * * */ import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CameraNodeType } from '../../poly/NodeContext'; import { OnNodeRegisterCallback } from '../../poly/registers/nodes/NodesRegister'; declare class CubeCameraSopParamsConfig extends NodeParamsConfig { /** @param camera near */ near: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param camera far */ far: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param resolution */ resolution: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param camera position */ position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; /** @param camera rotation */ rotation: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; /** @param show helper */ showHelper: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param matrixAutoUpdate */ matrixAutoUpdate: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param camera name */ name: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; } export declare class CubeCameraSopNode extends TypedSopNode<CubeCameraSopParamsConfig> { readonly paramsConfig: CubeCameraSopParamsConfig; static type(): CameraNodeType; static onRegister: OnNodeRegisterCallback; protected initializeNode(): void; private _operation; cook(inputCoreGroups: CoreGroup[]): void; } export {};