NormalMapNode.d.ts 602 B

1234567891011121314151617181920212223
  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. }