This commit is contained in:
xiefan
2020-09-24 11:04:12 +08:00
commit b654ca8c7f
1633 changed files with 86830 additions and 0 deletions

26
types/DatabaseServices/Texture.d.ts vendored Normal file
View File

@@ -0,0 +1,26 @@
import { Texture, Wrapping } from 'three';
import { CADFiler } from './CADFiler';
import { SymbolTableRecord } from './SymbolTableRecord';
/**
* 数据化的贴图类.实现了序列化.
*/
export declare class TextureTableRecord extends SymbolTableRecord {
private wrapS;
private wrapT;
repeatX: number;
repeatY: number;
rotation: number;
imageUrl: string;
set WrapS(wrap: Wrapping);
get WrapS(): Wrapping;
get WrapT(): Wrapping;
set WrapT(wrap: Wrapping);
private texture;
Update(): Promise<void>;
private waits;
WaitUpdate(): Promise<unknown>;
GetThreeTexture(): Texture;
ReadFile(file: CADFiler): void;
WriteFile(file: CADFiler): void;
}
//# sourceMappingURL=Texture.d.ts.map