소스 검색

fix: Texture.d.ts : added matrix and matrixAutoUpdate

Frédéric Sarron 5 년 전
부모
커밋
305c13a3c3
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/textures/Texture.d.ts

+ 3 - 0
src/textures/Texture.d.ts

@@ -1,4 +1,5 @@
 import { Vector2 } from './../math/Vector2';
+import { Matrix3 } from './../math/Matrix3';
 import { EventDispatcher } from './../core/EventDispatcher';
 import {
 	Mapping,
@@ -43,6 +44,8 @@ export class Texture extends EventDispatcher {
 	format: PixelFormat;
 	internalFormat: PixelFormatGPU | null;
 	type: TextureDataType;
+	matrix: Matrix3;
+	matrixAutoUpdate: boolean;
 	offset: Vector2;
 	repeat: Vector2;
 	center: Vector2;