CameraNode.d.ts 892 B

12345678910111213141516171819202122232425262728293031
  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. generate(builder: NodeBuilder, output: string): string;
  18. onUpdateFrame(frame: NodeFrame): void;
  19. copy(source: CameraNode): this;
  20. static Nodes: {
  21. depthColor: FunctionNode;
  22. };
  23. static POSITION: string;
  24. static DEPTH: string;
  25. static TO_VERTEX: string;
  26. }