NormalMapNode.d.ts 605 B

123456789101112131415161718192021
  1. import { TempNode } from '../core/TempNode';
  2. import { NodeBuilder } from '../core/NodeBuilder';
  3. import { FunctionNode } from '../core/FunctionNode';
  4. import { TextureNode } from '../inputs/TextureNode';
  5. import { Vector2Node } from '../inputs/Vector2Node';
  6. export class NormalMapNode extends TempNode {
  7. constructor(value: TextureNode, scale?: Vector2Node);
  8. value: TextureNode;
  9. scale: Vector2Node;
  10. toNormalMap: boolean;
  11. nodeType: string;
  12. generate(builder: NodeBuilder, output: string): string;
  13. copy(source: NormalMapNode): this;
  14. static Nodes: {
  15. perturbNormal2Arb: FunctionNode;
  16. }
  17. }