File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
types/three/src/nodes/display Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ import { ShaderNodeObject } from "../tsl/TSLCore.js";
4
4
export type ViewportNodeScope =
5
5
| typeof ViewportNode . COORDINATE
6
6
| 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 ;
11
9
12
10
declare class ViewportNode extends Node {
13
11
scope : ViewportNodeScope ;
@@ -18,10 +16,8 @@ declare class ViewportNode extends Node {
18
16
19
17
static COORDINATE : "coordinate" ;
20
18
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" ;
25
21
}
26
22
27
23
export default ViewportNode ;
You can’t perform that action at this time.
0 commit comments