浏览代码

Added map as a property

kazuki 5 年之前
父节点
当前提交
c144ce8894
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      src/materials/MeshDepthMaterial.d.ts
  2. 1 0
      src/materials/MeshDistanceMaterial.d.ts

+ 1 - 0
src/materials/MeshDepthMaterial.d.ts

@@ -17,6 +17,7 @@ export class MeshDepthMaterial extends Material {
 
 	constructor( parameters?: MeshDepthMaterialParameters );
 
+	map: Texture | null;
 	alphaMap: Texture | null;
 	depthPacking: DepthPackingStrategies;
 	displacementMap: Texture | null;

+ 1 - 0
src/materials/MeshDistanceMaterial.d.ts

@@ -17,6 +17,7 @@ export class MeshDistanceMaterial extends Material {
 
 	constructor( parameters?: MeshDistanceMaterialParameters );
 
+	map: Texture | null;
 	alphaMap: Texture | null;
 	displacementMap: Texture | null;
 	displacementScale: number;