webcad-api/types/DatabaseServices/Texture.d.ts

29 lines
809 B
TypeScript
Raw Normal View History

2020-09-24 11:04:12 +08:00
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;
2023-05-08 10:53:13 +08:00
moveX: number;
moveY: number;
imgUrl: string;
2020-09-24 11:04:12 +08:00
set WrapS(wrap: Wrapping);
get WrapS(): Wrapping;
get WrapT(): Wrapping;
set WrapT(wrap: Wrapping);
private texture;
2023-05-08 10:53:13 +08:00
Update(): Promise<string>;
2020-09-24 11:04:12 +08:00
private waits;
WaitUpdate(): Promise<unknown>;
GetThreeTexture(): Texture;
ReadFile(file: CADFiler): void;
WriteFile(file: CADFiler): void;
}
//# sourceMappingURL=Texture.d.ts.map