未验证 提交 c063244e 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #18257 from OndrejSpanel/dev

Fix d.ts signatures for setCrossOrigin and transformUv
......@@ -87,7 +87,7 @@ export namespace MTLLoader {
wrap : Wrapping;
crossOrigin : string;
setCrossOrigin( value: string ) : void;
setCrossOrigin( value: string ) : this;
setManager( value: LoadingManager ) : void;
setMaterials( materialsInfo: {[key: string]: MaterialInfo} ) : void;
convert( materialsInfo: {[key: string]: MaterialInfo} ) : {[key: string]: MaterialInfo};
......
......@@ -62,6 +62,6 @@ export class Texture extends EventDispatcher {
copy( source: Texture ): this;
toJSON( meta: any ): any;
dispose(): void;
transformUv( uv: Vector ): void;
transformUv( uv: Vector2 ): Vector2;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册