@3dsource/metabox-front-api 0.0.8 → 0.0.9
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
|
* });
|
|
@@ -105,6 +105,11 @@ 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
115
|
* @internal
|