UNPKG

three

Version:

JavaScript 3D library

32 lines (24 loc) 777 B
import { Camera } from '../../../../src/Three'; import { NodeFrame } from '../core/NodeFrame'; import { TempNode } from '../core/TempNode'; import { FunctionNode } from '../core/FunctionNode'; import { FloatNode } from '../inputs/FloatNode'; export class CameraNode extends TempNode { constructor( scope?: string, camera?: Camera ); scope: string; near: FloatNodeundefined; far: FloatNodeundefined; camera: Cameraundefined; updateFrame: booleanundefined; nodeType: string; setCamera( camera: Camera ): void; setScope( scope: string ): void; onUpdateFrame( frame: NodeFrame ): void; copy( source: CameraNode ): this; static Nodes: { depthColor: FunctionNode; }; static POSITION: string; static DEPTH: string; static TO_VERTEX: string; }