@tomorrowevening/hermes 0.0.99 → 0.0.100

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,30 +1,31 @@
1
- import { Material, Object3D, Texture, WebGLRenderer } from 'three';
2
- export declare function capitalize(value: string): string;
3
- export declare function clamp(min: number, max: number, value: number): number;
4
- export declare function normalize(min: number, max: number, value: number): number;
5
- export declare function mix(min: number, max: number, value: number): number;
6
- export declare function distance(x: number, y: number): number;
7
- export declare function randomID(): string;
8
- export declare function isColor(obj: any): boolean;
9
- export declare function colorToHex(obj: any): string;
10
- export declare function round(value: number, precision?: number): number;
11
- export declare let totalThreeObjects: number;
12
- export declare const resetThreeObjects: () => void;
13
- export declare const hierarchyUUID: (object: Object3D) => void;
14
- export declare const disposeTexture: (texture?: Texture) => void;
15
- export declare const disposeMaterial: (material?: Material | Material[]) => void;
16
- export declare const dispose: (object: Object3D) => void;
17
- export declare class ExportTexture {
18
- static renderer: WebGLRenderer;
19
- private static canvas;
20
- private static context;
21
- private static scene;
22
- private static camera;
23
- private static material;
24
- private static inited;
25
- private static width;
26
- private static height;
27
- private static init;
28
- static renderToBlob(texture: Texture): string;
29
- private static renderToCanvas;
30
- }
1
+ import { Material, Object3D, Texture, WebGLRenderer } from 'three';
2
+ export declare function capitalize(value: string): string;
3
+ export declare function copyToClipboard(data: any): string;
4
+ export declare function clamp(min: number, max: number, value: number): number;
5
+ export declare function normalize(min: number, max: number, value: number): number;
6
+ export declare function mix(min: number, max: number, value: number): number;
7
+ export declare function distance(x: number, y: number): number;
8
+ export declare function randomID(): string;
9
+ export declare function isColor(obj: any): boolean;
10
+ export declare function colorToHex(obj: any): string;
11
+ export declare function round(value: number, precision?: number): number;
12
+ export declare let totalThreeObjects: number;
13
+ export declare const resetThreeObjects: () => void;
14
+ export declare const hierarchyUUID: (object: Object3D) => void;
15
+ export declare const disposeTexture: (texture?: Texture) => void;
16
+ export declare const disposeMaterial: (material?: Material | Material[]) => void;
17
+ export declare const dispose: (object: Object3D) => void;
18
+ export declare class ExportTexture {
19
+ static renderer: WebGLRenderer;
20
+ private static canvas;
21
+ private static context;
22
+ private static scene;
23
+ private static camera;
24
+ private static material;
25
+ private static inited;
26
+ private static width;
27
+ private static height;
28
+ private static init;
29
+ static renderToBlob(texture: Texture): string;
30
+ private static renderToCanvas;
31
+ }