CameraNode.d.ts 828 B

1234567891011121314151617181920212223242526272829303132
  1. import { Camera } from '../../../../src/Three';
  2. import { NodeBuilder } from '../core/NodeBuilder';
  3. import { NodeFrame } from '../core/NodeFrame';
  4. import { TempNode } from '../core/TempNode';
  5. import { FunctionNode } from '../core/FunctionNode';
  6. import { FloatNode } from '../inputs/FloatNode';
  7. export class CameraNode extends TempNode {
  8. constructor( scope?: string, camera?: Camera );
  9. scope: string;
  10. near: FloatNode | undefined;
  11. far: FloatNode | undefined;
  12. camera: Camera | undefined;
  13. updateFrame: boolean | undefined;
  14. nodeType: string;
  15. setCamera( camera: Camera ): void;
  16. setScope( scope: string ): void;
  17. onUpdateFrame( frame: NodeFrame ): void;
  18. copy( source: CameraNode ): this;
  19. static Nodes: {
  20. depthColor: FunctionNode;
  21. };
  22. static POSITION: string;
  23. static DEPTH: string;
  24. static TO_VERTEX: string;
  25. }