@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.
- package/dist/hermes.cjs.js +16 -16
- package/dist/hermes.es.js +3827 -3000
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/types/core/remote/RemoteThree.d.ts +38 -38
- package/types/editor/global.d.ts +25 -25
- package/types/editor/multiView/MultiView.d.ts +107 -12
- package/types/editor/sidePanel/DebugData.d.ts +23 -0
- package/types/editor/sidePanel/inspector/InspectorGroup.d.ts +8 -7
- package/types/editor/sidePanel/inspector/utils/InspectTransform.d.ts +23 -3
- package/types/editor/tools/Transform.d.ts +22 -0
- package/types/editor/utils.d.ts +31 -30
package/types/editor/utils.d.ts
CHANGED
@@ -1,30 +1,31 @@
|
|
1
|
-
import { Material, Object3D, Texture, WebGLRenderer } from 'three';
|
2
|
-
export declare function capitalize(value: string): string;
|
3
|
-
export declare function
|
4
|
-
export declare function
|
5
|
-
export declare function
|
6
|
-
export declare function
|
7
|
-
export declare function
|
8
|
-
export declare function
|
9
|
-
export declare function
|
10
|
-
export declare function
|
11
|
-
export declare
|
12
|
-
export declare
|
13
|
-
export declare const
|
14
|
-
export declare const
|
15
|
-
export declare const
|
16
|
-
export declare const
|
17
|
-
export declare
|
18
|
-
|
19
|
-
|
20
|
-
private static
|
21
|
-
private static
|
22
|
-
private static
|
23
|
-
private static
|
24
|
-
private static
|
25
|
-
private static
|
26
|
-
private static
|
27
|
-
private static
|
28
|
-
static
|
29
|
-
|
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
|
+
}
|