提交 1f6db392 编写于 作者: M martinRenou

NodeMaterial: missing attributes in type definition

上级 aeb347fd
import { Color } from '../../../../src/math/Color';
import { Texture } from '../../../../src/textures/Texture';
import { CubeTexture } from '../../../../src/textures/CubeTexture';
import { Vector2 } from '../../../../src/math/Vector2';
import { Node } from '../core/Node';
import { NodeMaterial } from './NodeMaterial';
export class MeshStandardNodeMaterial extends NodeMaterial {
constructor();
color: Color | Node;
roughness: number | Node;
metalness: number | Node;
map: Texture | Node;
normalMap: Texture | Node;
normalScale: Vector2 | Node;
metalnessMap: Texture | Node;
roughnessMap: Texture | Node;
envMap: CubeTexture | Node;
}
import { Node } from '../core/Node';
import { NodeMaterial } from './NodeMaterial';
export class PhongNodeMaterial extends NodeMaterial {
constructor();
color: Node;
alpha: Node;
specular: Node;
shininess: Node;
normal: Node;
emissive: Node;
ambient: Node;
light: Node;
shadow: Node;
ao: Node;
environment: Node;
environmentAlpha: Node;
mask: Node;
position: Node;
}
import { Node } from '../core/Node';
import { NodeMaterial } from './NodeMaterial';
export class SpriteNodeMaterial extends NodeMaterial {
constructor();
color: Node;
alpha: Node;
mask: Node;
position: Node;
spherical: Node;
}
import { Node } from '../core/Node';
import { NodeMaterial } from './NodeMaterial';
export class StandardNodeMaterial extends NodeMaterial {
constructor();
color: Node;
alpha: Node;
roughness: Node;
metalness: Node;
reflectivity: Node;
clearcoat: Node;
clearcoatRoughness: Node;
clearcoatNormal: Node;
normal: Node;
emissive: Node;
ambient: Node;
light: Node;
shadow: Node;
ao: Node;
environment: Node;
mask: Node;
position: Node;
sheen: Node;
}
import { NodeBuilder } from '../../core/NodeBuilder';
import { Node } from '../../core/Node';
import { ColorNode } from '../../inputs/ColorNode';
import { FloatNode } from '../../inputs/FloatNode';
export class PhongNode extends Node {
constructor();
color: ColorNode;
specular: ColorNode;
shininess: FloatNode;
color: Node;
specular: Node;
shininess: Node;
nodeType: string;
build( builder: NodeBuilder ): string;
......
import { NodeBuilder } from '../../core/NodeBuilder';
import { Node } from '../../core/Node';
import { ColorNode } from '../../inputs/ColorNode';
export class SpriteNode extends Node {
constructor();
color: ColorNode;
color: Node;
spherical: true;
nodeType: string;
......
import { NodeBuilder } from '../../core/NodeBuilder';
import { Node } from '../../core/Node';
import { ColorNode } from '../../inputs/ColorNode';
import { FloatNode } from '../../inputs/FloatNode';
export class StandardNode extends Node {
constructor();
color: ColorNode;
roughness: FloatNode;
metalness: FloatNode;
color: Node;
roughness: Node;
metalness: Node;
nodeType: string;
build( builder: NodeBuilder ): string;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册