소스 검색

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

TS: Fix matcap attribute of MeshMatcapMaterial
Michael Herzog 6 년 전
부모
커밋
b2de6d6563
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;