mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 10:49:36 +02:00
31 lines
773 B
TypeScript
31 lines
773 B
TypeScript
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: FloatNode | undefined;
|
|
far: FloatNode | undefined;
|
|
camera: Camera | undefined;
|
|
updateFrame: boolean | undefined;
|
|
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;
|
|
|
|
}
|