Browse Source

Added map as a property

kazuki 5 năm trước cách đây
mục cha
commit
c144ce8894

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

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

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

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