提交 6c047a15 编写于 作者: M Mugen87

TS: Add toneMapped to Material.d.ts.

上级 c77b8293
......@@ -47,6 +47,7 @@ export interface MaterialParameters {
flatShading?: boolean;
side?: Side;
shadowSide?: Side;
toneMapped?: boolean;
transparent?: boolean;
vertexColors?: Colors;
vertexTangents?: boolean;
......@@ -261,6 +262,12 @@ export class Material extends EventDispatcher {
*/
side: Side;
/**
* Defines whether this material is tone mapped according to the renderer's toneMapping setting.
* Default is true.
*/
toneMapped: boolean;
/**
* Defines whether this material is transparent. This has an effect on rendering as transparent objects need special treatment and are rendered after non-transparent objects.
* When set to true, the extent to which the material is transparent is controlled by setting it's .opacity property.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册