CameraNode.d.ts 777 B

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