@3dsource/metabox-front-api 0.0.8 → 0.0.10
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/README.md
CHANGED
|
@@ -36,7 +36,7 @@ export type MimeType = 'image/png' | 'image/jpeg' | 'image/webp';
|
|
|
36
36
|
* new GetFastRender('image/png', { x: 1024, y: 1024 });
|
|
37
37
|
* }
|
|
38
38
|
* // Process the fast render response
|
|
39
|
-
* if (data.eventType === '
|
|
39
|
+
* if (data.eventType === 'fastRender') {
|
|
40
40
|
* saveImage(data.payload, 'Render.png');
|
|
41
41
|
* }
|
|
42
42
|
* });
|
|
@@ -36,7 +36,7 @@ import { ToMetaBoxApiAction } from '../interfaces/ToMetaboxMessagePayloads';
|
|
|
36
36
|
* new GetFastRender('image/png', { x: 1024, y: 1024 });
|
|
37
37
|
* }
|
|
38
38
|
* // Process the fast render response
|
|
39
|
-
* if (data.eventType === '
|
|
39
|
+
* if (data.eventType === 'fastRender') {
|
|
40
40
|
* saveImage(data.payload, 'Render.png');
|
|
41
41
|
* }
|
|
42
42
|
* });
|
|
@@ -72,7 +72,6 @@ export interface FromMetaboxMessagePayloads {
|
|
|
72
72
|
*/
|
|
73
73
|
basicConfiguratorDataWithState: ConfiguratorEnvelope;
|
|
74
74
|
/**
|
|
75
|
-
* @internal
|
|
76
75
|
* Dispatches Every time when configurator connected/disconnected with Unreal Engine.
|
|
77
76
|
*/
|
|
78
77
|
dataChannelConnected: boolean;
|
|
@@ -81,7 +80,7 @@ export interface FromMetaboxMessagePayloads {
|
|
|
81
80
|
*/
|
|
82
81
|
viewportReady: boolean;
|
|
83
82
|
/**
|
|
84
|
-
* Dispatches Every
|
|
83
|
+
* Dispatches Every when user toggle fullscreen button in internal menu.
|
|
85
84
|
*/
|
|
86
85
|
isFullscreen: boolean;
|
|
87
86
|
/**
|
|
@@ -90,6 +89,7 @@ export interface FromMetaboxMessagePayloads {
|
|
|
90
89
|
statusMessage: string | null;
|
|
91
90
|
/**
|
|
92
91
|
* @internal
|
|
92
|
+
* @hidden
|
|
93
93
|
* Dispatches every time when freeze-frame is arrived or updated.
|
|
94
94
|
*/
|
|
95
95
|
freezeFrame: {
|
|
@@ -97,7 +97,7 @@ export interface FromMetaboxMessagePayloads {
|
|
|
97
97
|
progress: number | null;
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
100
|
-
* @
|
|
100
|
+
* @experimental
|
|
101
101
|
* Dispatches every Unreal is sending command callback.
|
|
102
102
|
* Works only after new WatchCallbacks() command is sent.
|
|
103
103
|
*/
|
|
@@ -105,10 +105,14 @@ export interface FromMetaboxMessagePayloads {
|
|
|
105
105
|
/**
|
|
106
106
|
* Dispatches every time when Unreal is sending ordered render with new GetFastRender() command.
|
|
107
107
|
*/
|
|
108
|
+
fastRender: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* @hidden
|
|
111
|
+
* @Deprecated, use fastRender
|
|
112
|
+
*/
|
|
108
113
|
getFastRender: string | null;
|
|
109
114
|
/**
|
|
110
|
-
* @
|
|
111
|
-
* @callback
|
|
115
|
+
* @experimental
|
|
112
116
|
* Dispatches every Unreal state is changing, including all unreal module state.
|
|
113
117
|
*/
|
|
114
118
|
unrealFeature: object;
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3dsource/metabox-front-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "API for MetaBox BASIC configurator",
|
|
5
|
-
"main": "dist/index.
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"unpkg": "dist/index.js",
|
|
7
|
+
"jsdelivr": "dist/index.js",
|
|
7
8
|
"type": "module",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"build": "tsc",
|