소스 검색

[Typescript definition] texture.ctor, args noMipmap & invertY is optional

Vincent Bouzon 11 년 전
부모
커밋
0628b93faf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Typescript/Materials/textures/babylon.texture.d.ts

+ 1 - 1
Typescript/Materials/textures/babylon.texture.d.ts

@@ -6,7 +6,7 @@ declare module BABYLON {
         url: string
         animations: Animation[];
 
-        constructor(url: string, scene: Scene, noMipmap: boolean, invertY: boolean);
+        constructor(url: string, scene: Scene, noMipmap?: boolean, invertY?: boolean);
 
         static EXPLICIT_MODE: number;
         static SPHERICAL_MODE: number;