@3dsource/metabox-front-api 1.0.2-dev.0 → 1.0.2-dev.1
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.
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CommandBase } from './CommandBase';
|
|
2
|
+
import type { MetaBoxCommandPacket } from '@3dsource/types-unreal';
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
* @hidden
|
|
5
6
|
* Represents a command to send Unreal command.
|
|
6
7
|
*/
|
|
7
8
|
export declare class UnrealCommand extends CommandBase {
|
|
8
|
-
constructor(payload:
|
|
9
|
+
constructor(payload: MetaBoxCommandPacket);
|
|
9
10
|
}
|
|
10
11
|
/**
|
|
11
12
|
* @deprecated, use `UnrealCommand` instead.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MimeType } from '../actions/GetScreenshot';
|
|
2
2
|
import type { ApplicationDeviceTypes } from './application-device-types';
|
|
3
|
+
import type { MetaBoxCommandPacket } from '@3dsource/types-unreal';
|
|
3
4
|
export type ToMetaBoxActions = 'getPdf' | 'loadLevel' | 'setProduct' | 'getFastRender' | 'getScreenshot' | 'watchCallbacks' | 'setMaterialById' | 'showEmbeddedMenu' | 'forceSetDeviceType' | 'sendCommandToUnreal' | 'showOverlayInterface' | 'setEnvironmentMaterialById' | 'resetCamera' | 'addResponse';
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
@@ -46,7 +47,7 @@ export interface ToMetaboxMessagePayloads {
|
|
|
46
47
|
slotId: string;
|
|
47
48
|
materialId: string;
|
|
48
49
|
};
|
|
49
|
-
sendCommandToUnreal:
|
|
50
|
+
sendCommandToUnreal: MetaBoxCommandPacket;
|
|
50
51
|
setEnvironmentMaterialById: {
|
|
51
52
|
productId: string;
|
|
52
53
|
slotId: string;
|