@tomorrowevening/hermes 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "module": "./dist/hermes.esm.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "type": "module",
10
- "version": "0.1.5",
10
+ "version": "0.1.7",
11
11
  "homepage": "https://github.com/tomorrowevening/hermes#readme",
12
12
  "bugs": {
13
13
  "url": "https://github.com/tomorrowevening/hermes/issues"
package/types/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './core/types';
2
2
  export * from './editor/utils';
3
3
  export * from './utils/detectSettings';
4
4
  export * from './utils/math';
5
+ export * from './utils/theatre';
5
6
  export * from './utils/three';
6
7
  export * from './utils/post';
7
8
  export * from './webworkers/types';
@@ -10,7 +11,6 @@ export * from './webworkers/ProxyManager';
10
11
  export * from './core/Application';
11
12
  export { default as AppRunner } from './core/AppRunner';
12
13
  export { default as BaseRemote } from './core/remote/BaseRemote';
13
- export * from './editor/theatreUtils';
14
14
  export { default as RemoteTheatre } from './core/remote/RemoteTheatre';
15
15
  export { default as RemoteThree } from './core/remote/RemoteThree';
16
16
  export { default as NavButton } from './editor/components/NavButton';
@@ -29,3 +29,6 @@ export { default as ThreeEditor } from './editor/ThreeEditor';
29
29
  export { default as Transform } from './editor/tools/Transform';
30
30
  export { default as Spline } from './editor/tools/splineEditor/Spline';
31
31
  export { default as SplineEditor } from './editor/tools/splineEditor';
32
+ export { default as InfiniteGridMaterial } from './editor/multiView/InfiniteGridMaterial';
33
+ export { default as InfiniteGridHelper } from './editor/multiView/InfiniteGridHelper';
34
+ export { default as UVMaterial } from './editor/multiView/UVMaterial';
@@ -0,0 +1,14 @@
1
+ import RemoteTheatre from '../core/remote/RemoteTheatre';
2
+ export declare function customizeTheatreElements(): Promise<void>;
3
+ export declare function animateObjectTransform(sheet: string, key: string, obj: any, theatre: RemoteTheatre): void;
4
+ type PropType = 'array' | 'boolean' | 'color' | 'euler' | 'matrix2' | 'matrix3' | 'matrix4' | 'number' | 'object' | 'string' | 'texture' | 'vector2' | 'vector3' | 'vector4';
5
+ type PropToAdd = {
6
+ name: string;
7
+ type: PropType;
8
+ value: any;
9
+ };
10
+ export declare function getObjectMaterialProps(material: any): PropToAdd[];
11
+ export declare function getObjectMaterialObject(props: PropToAdd[]): {};
12
+ export declare function applyObjectMaterial(material: any, props: PropToAdd[], values: any): void;
13
+ export declare function animateObjectMaterial(sheet: string, key: string, material: any, theatre: RemoteTheatre): void;
14
+ export {};