TextureNode.d.ts 613 字节
Newer Older
1 2 3 4
import {
  Matrix4,
  Texture 
} from '../../../../src/Three';
M
Mugen87 已提交
5 6 7

import { InputNode } from '../core/InputNode';
import { NodeBuilder } from '../core/NodeBuilder';
8 9
import { Node } from '../core/Node';
import { UVNode } from '../accessors/UVNode';
M
Mugen87 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23

export class TextureNode extends InputNode {
  constructor(value: Texture, uv?: UVNode, bias?: Node, project?: boolean);

  value: Matrix4;
  uv: UVNode;
  bias: Matrix4;
  project: boolean;
  nodeType: string;

  getTexture(builder: NodeBuilder, output: string): string;
  generate(builder: NodeBuilder, output: string): string;
  copy(source: TextureNode): this;
}