Skip to content

Commit

Permalink
Nodes: Simplify effect nodes. (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Jul 20, 2024
1 parent a6c66cd commit 7b963c6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions types/three/src/nodes/display/DotScreenNode.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
import { Vector2 } from "../../math/Vector2.js";
import TextureNode from "../accessors/TextureNode.js";
import Node from "../core/Node.js";
import TempNode from "../core/TempNode.js";
import UniformNode from "../core/UniformNode.js";
import { NodeRepresentation, ShaderNodeObject } from "../shadernode/ShaderNode.js";

export default class DotScreenNode extends TempNode {
colorNode: Node;
inputNode: Node;
center: UniformNode<Vector2>;
angle: UniformNode<number>;
scale: UniformNode<number>;

constructor(colorNode: Node, center?: Vector2, angle?: number, scale?: number);

getTextureNode(): ShaderNodeObject<TextureNode>;

setSize(width: number, height: number): void;
constructor(inputNode: Node, center?: Vector2, angle?: number, scale?: number);
}

export const dotScreen: (
Expand Down

0 comments on commit 7b963c6

Please sign in to comment.