Browse Source

Merge pull request #16644 from bitowl/typescript-fix-matcap

TS: Fix matcap attribute of MeshMatcapMaterial
Michael Herzog 6 years ago
parent
commit
b2de6d6563
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/materials/MeshMatcapMaterial.d.ts

+ 2 - 2
src/materials/MeshMatcapMaterial.d.ts

@@ -7,7 +7,7 @@ import { NormalMapTypes } from '../constants';
 export interface MeshMatcapMaterialParameters extends MaterialParameters {
 
 	color?: Color | string | number;
-	matMap?: Texture;
+	matcap?: Texture;
 	map?: Texture;
 	bumpMap?: Texture;
 	bumpScale?: number;
@@ -28,7 +28,7 @@ export class MeshMatcapMaterial extends Material {
 	constructor( parameters?: MeshMatcapMaterialParameters );
 
 	color: Color;
-	matMap: Texture | null;
+	matcap: Texture | null;
 	map: Texture | null;
 	bumpMap: Texture | null;
 	bumpScale: number;