@tomorrowevening/hermes 0.0.104 → 0.0.106
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +674 -674
- package/README.md +16 -16
- package/dist/hermes.cjs.js +149 -149
- package/dist/hermes.es.js +7556 -7574
- package/dist/style.css +1 -1
- package/package.json +80 -80
- package/types/core/remote/RemoteThree.d.ts +39 -39
- package/types/core/types.d.ts +35 -35
- package/types/editor/global.d.ts +26 -26
- package/types/editor/multiView/CameraWindow.d.ts +22 -22
- package/types/editor/multiView/MultiView.d.ts +109 -109
- package/types/editor/multiView/Toggle.d.ts +10 -0
- package/types/editor/sidePanel/DebugData.d.ts +24 -24
- package/types/editor/sidePanel/inspector/InspectorGroup.d.ts +23 -23
- package/types/editor/sidePanel/inspector/utils/InspectTransform.d.ts +25 -25
- package/types/editor/tools/Transform.d.ts +21 -22
- package/types/editor/tools/splineEditor/Spline.d.ts +52 -52
- package/types/editor/tools/splineEditor/index.d.ts +27 -27
- package/types/editor/utils.d.ts +31 -31
- package/types/index.d.ts +27 -24
package/types/editor/utils.d.ts
CHANGED
@@ -1,31 +1,31 @@
|
|
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
|
-
}
|
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
|
+
}
|
package/types/index.d.ts
CHANGED
@@ -1,24 +1,27 @@
|
|
1
|
-
export * from './core/types';
|
2
|
-
export * from './editor/utils';
|
3
|
-
export { default as Application } from './core/Application';
|
4
|
-
export { debugDispatcher, ToolEvents } from './editor/global';
|
5
|
-
export { default as BaseRemote } from './core/remote/BaseRemote';
|
6
|
-
export { default as RemoteComponents } from './core/remote/RemoteComponents';
|
7
|
-
export * from './editor/theatreUtils';
|
8
|
-
export { default as RemoteTheatre } from './core/remote/RemoteTheatre';
|
9
|
-
export { default as RemoteThree } from './core/remote/RemoteThree';
|
10
|
-
export { default as NavButton } from './editor/components/NavButton';
|
11
|
-
export { default as DraggableItem } from './editor/components/DraggableItem';
|
12
|
-
export { default as Draggable } from './editor/components/Draggable';
|
13
|
-
export { default as DropdownItem } from './editor/components/DropdownItem';
|
14
|
-
export { default as Dropdown } from './editor/components/Dropdown';
|
15
|
-
export { default as RemoteController } from './core/RemoteController';
|
16
|
-
export { default as SidePanel } from './editor/sidePanel/SidePanel';
|
17
|
-
export { default as Accordion } from './editor/sidePanel/Accordion';
|
18
|
-
export { default as ChildObject } from './editor/sidePanel/ChildObject';
|
19
|
-
export { default as ContainerObject } from './editor/sidePanel/ContainerObject';
|
20
|
-
export { default as Inspector } from './editor/sidePanel/inspector/Inspector';
|
21
|
-
export { default as SceneInspector } from './editor/sidePanel/inspector/SceneInspector';
|
22
|
-
export { default as MultiView } from './editor/multiView/MultiView';
|
23
|
-
export { default as Editor } from './editor/Editor';
|
24
|
-
export { default as ThreeEditor } from './editor/ThreeEditor';
|
1
|
+
export * from './core/types';
|
2
|
+
export * from './editor/utils';
|
3
|
+
export { default as Application } from './core/Application';
|
4
|
+
export { debugDispatcher, ToolEvents } from './editor/global';
|
5
|
+
export { default as BaseRemote } from './core/remote/BaseRemote';
|
6
|
+
export { default as RemoteComponents } from './core/remote/RemoteComponents';
|
7
|
+
export * from './editor/theatreUtils';
|
8
|
+
export { default as RemoteTheatre } from './core/remote/RemoteTheatre';
|
9
|
+
export { default as RemoteThree } from './core/remote/RemoteThree';
|
10
|
+
export { default as NavButton } from './editor/components/NavButton';
|
11
|
+
export { default as DraggableItem } from './editor/components/DraggableItem';
|
12
|
+
export { default as Draggable } from './editor/components/Draggable';
|
13
|
+
export { default as DropdownItem } from './editor/components/DropdownItem';
|
14
|
+
export { default as Dropdown } from './editor/components/Dropdown';
|
15
|
+
export { default as RemoteController } from './core/RemoteController';
|
16
|
+
export { default as SidePanel } from './editor/sidePanel/SidePanel';
|
17
|
+
export { default as Accordion } from './editor/sidePanel/Accordion';
|
18
|
+
export { default as ChildObject } from './editor/sidePanel/ChildObject';
|
19
|
+
export { default as ContainerObject } from './editor/sidePanel/ContainerObject';
|
20
|
+
export { default as Inspector } from './editor/sidePanel/inspector/Inspector';
|
21
|
+
export { default as SceneInspector } from './editor/sidePanel/inspector/SceneInspector';
|
22
|
+
export { default as MultiView } from './editor/multiView/MultiView';
|
23
|
+
export { default as Editor } from './editor/Editor';
|
24
|
+
export { default as ThreeEditor } from './editor/ThreeEditor';
|
25
|
+
export { default as Transform } from './editor/tools/Transform';
|
26
|
+
export { default as Spline } from './editor/tools/splineEditor/Spline';
|
27
|
+
export { default as SplineEditor } from './editor/tools/splineEditor/index';
|