Skip to content

Commit e8cb4c3

Browse files
authored
ViewportNode: Clean up (#1215)
1 parent 28000d8 commit e8cb4c3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

types/three/src/nodes/display/ViewportNode.d.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ import { ShaderNodeObject } from "../tsl/TSLCore.js";
44
export type ViewportNodeScope =
55
| typeof ViewportNode.COORDINATE
66
| typeof ViewportNode.RESOLUTION
7-
| typeof ViewportNode.TOP_LEFT
8-
| typeof ViewportNode.BOTTOM_LEFT
9-
| typeof ViewportNode.TOP_RIGHT
10-
| typeof ViewportNode.BOTTOM_RIGHT;
7+
| typeof ViewportNode.VIEWPORT
8+
| typeof ViewportNode.UV;
119

1210
declare class ViewportNode extends Node {
1311
scope: ViewportNodeScope;
@@ -18,10 +16,8 @@ declare class ViewportNode extends Node {
1816

1917
static COORDINATE: "coordinate";
2018
static RESOLUTION: "resolution";
21-
static TOP_LEFT: "topLeft";
22-
static BOTTOM_LEFT: "bottomLeft";
23-
static TOP_RIGHT: "topRight";
24-
static BOTTOM_RIGHT: "bottomRight";
19+
static VIEWPORT: "viewport";
20+
static UV: "uv";
2521
}
2622

2723
export default ViewportNode;

0 commit comments

Comments
 (0)