vrtalk-web-sdk 0.2.219 → 0.4.472
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/dist/src/index.d.ts +1 -0
- package/dist/src/model/ar/ar-character-settings.d.ts +19 -0
- package/dist/src/model/ar/ar-content-data.d.ts +19 -0
- package/dist/src/model/ar/ar-environment-settings.d.ts +15 -0
- package/dist/src/model/ar/ar-image-target-settings.d.ts +5 -0
- package/dist/src/model/ar/index.d.ts +2 -0
- package/dist/src/model/general/ai-activate-settings.d.ts +38 -0
- package/dist/src/model/general/free-button.d.ts +7 -4
- package/dist/src/model/general/index.d.ts +3 -0
- package/dist/src/model/general/multi-language-str.d.ts +29 -0
- package/dist/src/model/general/vrtalk-base-data.d.ts +4 -0
- package/dist/src/model/index.d.ts +1 -0
- package/dist/src/model/unity/index.d.ts +3 -0
- package/dist/src/model/unity/unity-navigation-mode.d.ts +10 -0
- package/dist/src/model/unity/unity-navigation-params.d.ts +45 -0
- package/dist/src/model/unity/unity-navigation-plan.d.ts +10 -0
- package/dist/src/model/vr/index.d.ts +21 -0
- package/dist/src/model/vr/vr-action.d.ts +127 -18
- package/dist/src/model/vr/vr-ad-channel.d.ts +8 -0
- package/dist/src/model/vr/vr-ad-item.d.ts +9 -0
- package/dist/src/model/vr/vr-ai-settings.d.ts +9 -0
- package/dist/src/model/vr/vr-asset-label.d.ts +17 -0
- package/dist/src/model/vr/vr-audio.d.ts +4 -5
- package/dist/src/model/vr/vr-content-card.d.ts +32 -5
- package/dist/src/model/vr/vr-content-data.d.ts +44 -3
- package/dist/src/model/vr/vr-floor.d.ts +2 -2
- package/dist/src/model/vr/vr-flow.d.ts +21 -2
- package/dist/src/model/vr/vr-fov.d.ts +4 -2
- package/dist/src/model/vr/vr-layer.d.ts +2 -2
- package/dist/src/model/vr/vr-light.d.ts +3 -3
- package/dist/src/model/vr/vr-marker.d.ts +6 -4
- package/dist/src/model/vr/vr-measure-data.d.ts +29 -0
- package/dist/src/model/vr/vr-navigation-ad-config.d.ts +16 -0
- package/dist/src/model/vr/vr-obstacle-group.d.ts +6 -0
- package/dist/src/model/vr/vr-obstacle.d.ts +16 -0
- package/dist/src/model/vr/vr-signal.d.ts +18 -4
- package/dist/src/model/vr/vr-sticker.d.ts +18 -0
- package/dist/src/model/vr/vr-sweep.d.ts +6 -2
- package/dist/src/model/vr/vr-target-group.d.ts +7 -0
- package/dist/src/model/vr/vr-target.d.ts +19 -0
- package/dist/src/model/vr/vr-trimmer-data.d.ts +11 -0
- package/dist/src/model/vr/vr-view.d.ts +2 -2
- package/dist/src/model/vr/vr-wormhole-group.d.ts +6 -0
- package/dist/src/model/vr/vr-wormhole.d.ts +17 -0
- package/dist/src/model/vr/work-note.d.ts +9 -0
- package/dist/src/model/vr/xr-ai-agent.d.ts +27 -0
- package/dist/src/model/vr/xr-logic.d.ts +246 -0
- package/dist/src/model/vr/xr-message-card.d.ts +9 -0
- package/dist/src/model/vr/xr-monitor.d.ts +79 -0
- package/dist/src/model/vr/xr-space-fence-group.d.ts +7 -0
- package/dist/src/model/vr/xr-space-fence.d.ts +17 -0
- package/dist/src/model/vr/xr-virtual-floor.d.ts +12 -0
- package/dist/src/model/vr-component/vr-component-2d-panel-data.d.ts +23 -9
- package/dist/src/model/vr-component/vr-component-2d-text-data.d.ts +17 -1
- package/dist/src/model/vr-component/vr-component-2d-video-data.d.ts +4 -0
- package/dist/src/model/vr-component/vr-component-3d-model-data.d.ts +1 -0
- package/dist/src/model/vr-component/vr-component-data.d.ts +16 -3
- package/dist/src/model/vr-component/vr-component-tag-data.d.ts +27 -8
- package/dist/src/model/vr-state/vr-state-camera.d.ts +11 -0
- package/dist/src/model/vr-state/vr-state-component.d.ts +39 -0
- package/dist/src/model/vr-state/vr-state-data.d.ts +11 -0
- package/dist/src/model/vr-state/vr-state-navigation.d.ts +7 -0
- package/dist/src/model/vr-state/vr-state-player.d.ts +12 -0
- package/dist/src/model/vr-state/vr-state-sweep.d.ts +7 -0
- package/dist/src/parent/com-command/index.d.ts +12 -0
- package/dist/src/parent/com-command/parent-com-command-asset-label.d.ts +32 -0
- package/dist/src/parent/com-command/parent-com-command-camera.d.ts +8 -1
- package/dist/src/parent/com-command/parent-com-command-component.d.ts +16 -0
- package/dist/src/parent/com-command/parent-com-command-fov.d.ts +30 -0
- package/dist/src/parent/com-command/parent-com-command-information.d.ts +20 -0
- package/dist/src/parent/com-command/parent-com-command-light.d.ts +21 -0
- package/dist/src/parent/com-command/parent-com-command-message-card.d.ts +15 -0
- package/dist/src/parent/com-command/parent-com-command-monitor.d.ts +14 -0
- package/dist/src/parent/com-command/parent-com-command-obstacle.d.ts +38 -0
- package/dist/src/parent/com-command/parent-com-command-space-fence.d.ts +13 -0
- package/dist/src/parent/com-command/parent-com-command-sticker.d.ts +39 -0
- package/dist/src/parent/com-command/parent-com-command-target.d.ts +38 -0
- package/dist/src/parent/com-command/parent-com-command-trimmer.d.ts +33 -0
- package/dist/src/parent/com-command/parent-com-command-wormhole.d.ts +38 -0
- package/dist/src/parent/com-message/index.d.ts +8 -0
- package/dist/src/parent/com-message/parent-com-message-asset-label.d.ts +20 -0
- package/dist/src/parent/com-message/parent-com-message-component.d.ts +5 -0
- package/dist/src/parent/com-message/parent-com-message-fov.d.ts +15 -0
- package/dist/src/parent/com-message/parent-com-message-obstacle.d.ts +20 -0
- package/dist/src/parent/com-message/parent-com-message-space-fence.d.ts +8 -0
- package/dist/src/parent/com-message/parent-com-message-sticker.d.ts +20 -0
- package/dist/src/parent/com-message/parent-com-message-target.d.ts +20 -0
- package/dist/src/parent/com-message/parent-com-message-trimmer.d.ts +20 -0
- package/dist/src/parent/com-message/parent-com-message-wormhole.d.ts +20 -0
- package/dist/src/parent/vrtalk-editable-player.d.ts +22 -2
- package/dist/src/player/com-command/index.d.ts +12 -0
- package/dist/src/player/com-command/player-com-command-asset-label.d.ts +26 -0
- package/dist/src/player/com-command/player-com-command-camera.d.ts +8 -1
- package/dist/src/player/com-command/player-com-command-component.d.ts +12 -0
- package/dist/src/player/com-command/player-com-command-fov.d.ts +22 -0
- package/dist/src/player/com-command/player-com-command-information.d.ts +14 -0
- package/dist/src/player/com-command/player-com-command-light.d.ts +18 -0
- package/dist/src/player/com-command/player-com-command-message-card.d.ts +10 -0
- package/dist/src/player/com-command/player-com-command-monitor.d.ts +7 -0
- package/dist/src/player/com-command/player-com-command-obstacle.d.ts +30 -0
- package/dist/src/player/com-command/player-com-command-space-fence.d.ts +10 -0
- package/dist/src/player/com-command/player-com-command-sticker.d.ts +30 -0
- package/dist/src/player/com-command/player-com-command-target.d.ts +30 -0
- package/dist/src/player/com-command/player-com-command-trimmer.d.ts +27 -0
- package/dist/src/player/com-command/player-com-command-wormhole.d.ts +30 -0
- package/dist/src/player/com-command/player-com-command.d.ts +57 -1
- package/dist/src/player/com-message/index.d.ts +8 -0
- package/dist/src/player/com-message/player-com-message-asset-label.d.ts +13 -0
- package/dist/src/player/com-message/player-com-message-component.d.ts +4 -0
- package/dist/src/player/com-message/player-com-message-fov.d.ts +8 -0
- package/dist/src/player/com-message/player-com-message-obstacle.d.ts +13 -0
- package/dist/src/player/com-message/player-com-message-space-fence.d.ts +5 -0
- package/dist/src/player/com-message/player-com-message-sticker.d.ts +13 -0
- package/dist/src/player/com-message/player-com-message-target.d.ts +13 -0
- package/dist/src/player/com-message/player-com-message-trimmer.d.ts +13 -0
- package/dist/src/player/com-message/player-com-message-wormhole.d.ts +13 -0
- package/dist/src/player/com-message/player-com-message.d.ts +17 -1
- package/dist/src/player/player-controller.d.ts +22 -2
- package/dist/src/utils/trigger-migration.d.ts +12 -0
- package/dist/vrtalk-web-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -1,32 +1,52 @@
|
|
|
1
1
|
import { ParentComMessagePlayer } from './com-message/parent-com-message-player';
|
|
2
2
|
import { PlayerComMessage, PlayerComMessageType } from '..//player/com-message/player-com-message';
|
|
3
3
|
import { PlayerComCommand } from '../player/com-command/player-com-command';
|
|
4
|
-
import { ParentComCommandAudio, ParentComCommandCamera, ParentComCommandComponent, ParentComCommandCover, ParentComCommandFloor, ParentComCommandInfoTemplate, ParentComCommandLayer, ParentComCommandMarker, ParentComCommandNavigation, ParentComCommandPlayer, ParentComCommandRenderer, ParentComCommandSweep, ParentComCommandUi } from './com-command';
|
|
5
|
-
import { ParentComMessageCamera, ParentComMessageComponent, ParentComMessageFloor, ParentComMessageNavigation, ParentComMessageRenderer, ParentComMessageSweep } from './com-message';
|
|
4
|
+
import { ParentComCommandAssetLabel, ParentComCommandAudio, ParentComCommandCamera, ParentComCommandComponent, ParentComCommandCover, ParentComCommandFloor, ParentComCommandFov, ParentComCommandInformation, ParentComCommandInfoTemplate, ParentComCommandLayer, ParentComCommandLight, ParentComCommandMarker, ParentComCommandNavigation, ParentComCommandObstacle, ParentComCommandPlayer, ParentComCommandSpaceFence, ParentComCommandRenderer, ParentComCommandSticker, ParentComCommandSweep, ParentComCommandTarget, ParentComCommandTrimmer, ParentComCommandUi, ParentComCommandWormhole, ParentComCommandMonitor, ParentComCommandMessageCard } from './com-command';
|
|
5
|
+
import { ParentComMessageAssetLabel, ParentComMessageCamera, ParentComMessageComponent, ParentComMessageFloor, ParentComMessageFov, ParentComMessageNavigation, ParentComMessageObstacle, ParentComMessageRenderer, ParentComMessageSpaceFence, ParentComMessageSticker, ParentComMessageSweep, ParentComMessageTarget, ParentComMessageTrimmer, ParentComMessageWormhole } from './com-message';
|
|
6
6
|
export declare class VRTalkEditablePlayer {
|
|
7
7
|
serviceRegion: string;
|
|
8
8
|
iframeElement: HTMLIFrameElement | null;
|
|
9
9
|
messageListenerPool: Map<PlayerComMessageType, ((msg: PlayerComMessage) => void)[]>;
|
|
10
10
|
messageCamera: ParentComMessageCamera;
|
|
11
11
|
messageComponent: ParentComMessageComponent;
|
|
12
|
+
messageFov: ParentComMessageFov;
|
|
12
13
|
messageFloor: ParentComMessageFloor;
|
|
13
14
|
messagePlayer: ParentComMessagePlayer;
|
|
14
15
|
messageSweep: ParentComMessageSweep;
|
|
15
16
|
messageRenderer: ParentComMessageRenderer;
|
|
16
17
|
messageNavigation: ParentComMessageNavigation;
|
|
18
|
+
messageObstacle: ParentComMessageObstacle;
|
|
19
|
+
messageTrimmer: ParentComMessageTrimmer;
|
|
20
|
+
messageSticker: ParentComMessageSticker;
|
|
21
|
+
messageAssetLabel: ParentComMessageAssetLabel;
|
|
22
|
+
messageTarget: ParentComMessageTarget;
|
|
23
|
+
messageWormhole: ParentComMessageWormhole;
|
|
24
|
+
messageSpaceFence: ParentComMessageSpaceFence;
|
|
17
25
|
commandPlayer: ParentComCommandPlayer;
|
|
18
26
|
commandCover: ParentComCommandCover;
|
|
19
27
|
commandUi: ParentComCommandUi;
|
|
20
28
|
commandInfoTemplate: ParentComCommandInfoTemplate;
|
|
29
|
+
commandInformation: ParentComCommandInformation;
|
|
21
30
|
commandComponent: ParentComCommandComponent;
|
|
31
|
+
commandFov: ParentComCommandFov;
|
|
22
32
|
commandLayer: ParentComCommandLayer;
|
|
33
|
+
commandLight: ParentComCommandLight;
|
|
34
|
+
commandTrimmer: ParentComCommandTrimmer;
|
|
35
|
+
commandSticker: ParentComCommandSticker;
|
|
36
|
+
commandAssetLabel: ParentComCommandAssetLabel;
|
|
23
37
|
commandSweep: ParentComCommandSweep;
|
|
24
38
|
commandFloor: ParentComCommandFloor;
|
|
25
39
|
commandCamera: ParentComCommandCamera;
|
|
26
40
|
commandRenderer: ParentComCommandRenderer;
|
|
27
41
|
commandMarker: ParentComCommandMarker;
|
|
28
42
|
commandNavigation: ParentComCommandNavigation;
|
|
43
|
+
commandObstacle: ParentComCommandObstacle;
|
|
29
44
|
commandAudio: ParentComCommandAudio;
|
|
45
|
+
commandTarget: ParentComCommandTarget;
|
|
46
|
+
commandWormhole: ParentComCommandWormhole;
|
|
47
|
+
commandSpaceFence: ParentComCommandSpaceFence;
|
|
48
|
+
commandMonitor: ParentComCommandMonitor;
|
|
49
|
+
commandMessageCard: ParentComCommandMessageCard;
|
|
30
50
|
constructor(serviceRegion: string, iframeElement: HTMLIFrameElement);
|
|
31
51
|
/**
|
|
32
52
|
* 注册Player消息监听器
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
export * from './player-com-command';
|
|
2
|
+
export * from './player-com-command-asset-label';
|
|
2
3
|
export * from './player-com-command-audio';
|
|
3
4
|
export * from './player-com-command-camera';
|
|
4
5
|
export * from './player-com-command-component';
|
|
6
|
+
export * from './player-com-command-fov';
|
|
5
7
|
export * from './player-com-command-cover';
|
|
6
8
|
export * from './player-com-command-floor';
|
|
7
9
|
export * from './player-com-command-info-template';
|
|
10
|
+
export * from './player-com-command-information';
|
|
8
11
|
export * from './player-com-command-layer';
|
|
12
|
+
export * from './player-com-command-light';
|
|
9
13
|
export * from './player-com-command-marker';
|
|
10
14
|
export * from './player-com-command-navigation';
|
|
15
|
+
export * from './player-com-command-obstacle';
|
|
11
16
|
export * from './player-com-command-player';
|
|
12
17
|
export * from './player-com-command-renderer';
|
|
13
18
|
export * from './player-com-command-sweep';
|
|
19
|
+
export * from './player-com-command-target';
|
|
20
|
+
export * from './player-com-command-trimmer';
|
|
21
|
+
export * from './player-com-command-sticker';
|
|
14
22
|
export * from './player-com-command-ui';
|
|
23
|
+
export * from './player-com-command-wormhole';
|
|
24
|
+
export * from './player-com-command-space-fence';
|
|
25
|
+
export * from './player-com-command-monitor';
|
|
26
|
+
export * from './player-com-command-message-card';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VrAssetLabel, VrComponentControllerType } from '@/model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听ASSET LABEL相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandAssetLabel {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 创建ASSET LABEL
|
|
8
|
+
*/
|
|
9
|
+
onCreate(callback: (assetLabelData: VrAssetLabel | null) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 更新AssetLabel
|
|
12
|
+
*/
|
|
13
|
+
onUpdate(callback: (assetLabelData: VrAssetLabel) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 删除ASSET LABEL
|
|
16
|
+
*/
|
|
17
|
+
onDelete(callback: (assetLabelId: string) => void): void;
|
|
18
|
+
/**
|
|
19
|
+
* 监听命令 ASSET LABEL的控制器变更
|
|
20
|
+
*/
|
|
21
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, assetLabelId: string) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* 监听命令 ASSET LABEL修改编辑状态
|
|
24
|
+
*/
|
|
25
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VrCameraMoveTransitionType, VrCameraPose } from '../../model';
|
|
1
|
+
import { Vector3, VrCameraMoveTransitionType, VrCameraPose } from '../../model';
|
|
2
2
|
/**
|
|
3
3
|
* 播放器监听Camera点位相关命令
|
|
4
4
|
*/
|
|
@@ -29,4 +29,11 @@ export declare class PlayerComCommandCamera {
|
|
|
29
29
|
* fovId: 视角ID
|
|
30
30
|
*/
|
|
31
31
|
onMoveToNearComponent(callback: (transition: VrCameraMoveTransitionType, transitionTime: number, componentId: string) => void): void;
|
|
32
|
+
/**
|
|
33
|
+
* 监听命令 移动到某个位置并朝向该位置
|
|
34
|
+
* transition: 动画类型
|
|
35
|
+
* transitionTime: 动画时间,单位毫秒
|
|
36
|
+
* position: 位置
|
|
37
|
+
*/
|
|
38
|
+
onMoveToWatchPosition(callback: (transition: VrCameraMoveTransitionType, transitionTime: number, position: Vector3) => void): void;
|
|
32
39
|
}
|
|
@@ -27,8 +27,20 @@ export declare class PlayerComCommandComponent {
|
|
|
27
27
|
* 监听命令 播放器播放过渡动画
|
|
28
28
|
*/
|
|
29
29
|
onPlayTransitionAnimation(callback: (componentId: string, animationId: string) => void): void;
|
|
30
|
+
/**
|
|
31
|
+
* 监听命令 播放器停止过渡动画
|
|
32
|
+
*/
|
|
33
|
+
onStopTransitionAnimation(callback: (componentId: string) => void): void;
|
|
30
34
|
/**
|
|
31
35
|
* 监听命令 播放器播放3D模型组件动画
|
|
32
36
|
*/
|
|
33
37
|
on3dModelPlayAnimationClip(callback: (modelComponentId: string, animationClipId: string) => void): void;
|
|
38
|
+
/**
|
|
39
|
+
* 监听命令 播放器停止3D模型组件动画
|
|
40
|
+
*/
|
|
41
|
+
on3dModelStopAnimationClip(callback: (modelComponentId: string) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* 监听命令 播放器对2D文字组件执行自动适配宽高
|
|
44
|
+
*/
|
|
45
|
+
on2dTextAutoFit(callback: (componentId: string) => void): void;
|
|
34
46
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { VrFov } from '../../model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听FOV视角相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandFov {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 进入FOV拍摄模式
|
|
8
|
+
*/
|
|
9
|
+
onEnterFovShotMode(callback: (fovData: VrFov) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 退出FOV拍摄模式
|
|
12
|
+
*/
|
|
13
|
+
onExitFovShotMode(callback: () => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 播放器更新一个FOV视角数据
|
|
16
|
+
*/
|
|
17
|
+
onUpdate(callback: (fovData: VrFov) => void): void;
|
|
18
|
+
/**
|
|
19
|
+
* 监听命令 播放器删除一个FOV视角数据
|
|
20
|
+
*/
|
|
21
|
+
onDelete(callback: (fovId: string) => void): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VrContentCard } from '../../model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听INFORMATION相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandInformation {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 更新内容卡片
|
|
8
|
+
*/
|
|
9
|
+
onContentCardUpdate(callback: (contentCard: VrContentCard) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 删除内容卡片
|
|
12
|
+
*/
|
|
13
|
+
onContentCardDelete(callback: (contentCardId: string) => void): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VrLight } from '../../model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听LIGHT灯光相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandLight {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 创建灯光
|
|
8
|
+
*/
|
|
9
|
+
onCreate(callback: (light: VrLight) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 更新灯光
|
|
12
|
+
*/
|
|
13
|
+
onUpdate(callback: (light: VrLight) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 删除灯光
|
|
16
|
+
*/
|
|
17
|
+
onDelete(callback: (lightId: string) => void): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VrComponentControllerType, VrObstacle } from '@/model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听阻隔器相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandObstacle {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 创建阻隔器
|
|
8
|
+
*/
|
|
9
|
+
onCreate(callback: (obstacleData: VrObstacle) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 更新阻隔器
|
|
12
|
+
*/
|
|
13
|
+
onUpdate(callback: (obstacleData: VrObstacle) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 删除阻隔器
|
|
16
|
+
*/
|
|
17
|
+
onDelete(callback: (obstacleId: string) => void): void;
|
|
18
|
+
/**
|
|
19
|
+
* 监听命令 阻隔器的控制器变更
|
|
20
|
+
*/
|
|
21
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, obstacleId: string) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* 监听命令 阻隔器修改编辑状态
|
|
24
|
+
*/
|
|
25
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* 监听命令 阻隔器组的可见状态切换
|
|
28
|
+
*/
|
|
29
|
+
onGroupVisibleUpdate(callback: (groupId: string, visible: boolean) => void): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VrComponentControllerType, XrSpaceFence } from '@/model';
|
|
2
|
+
export declare class PlayerComCommandSpaceFence {
|
|
3
|
+
onCreate(callback: (spaceFenceData: XrSpaceFence) => void): void;
|
|
4
|
+
onUpdate(callback: (spaceFenceData: XrSpaceFence) => void): void;
|
|
5
|
+
onDelete(callback: (spaceFenceId: string) => void): void;
|
|
6
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, spaceFenceId: string) => void): void;
|
|
7
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
8
|
+
onGroupVisibleUpdate(callback: (groupId: string, visible: boolean) => void): void;
|
|
9
|
+
onGroupColorUpdate(callback: (groupId: string, cubeFaceColor: any) => void): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Vector3, VrComponentControllerType, VrSticker } from '@/model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听贴纸相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandSticker {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 创建贴纸
|
|
8
|
+
*/
|
|
9
|
+
onCreate(callback: (stickerData: VrSticker) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 更新贴纸
|
|
12
|
+
*/
|
|
13
|
+
onUpdate(callback: (stickerData: VrSticker) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 删除贴纸
|
|
16
|
+
*/
|
|
17
|
+
onDelete(callback: (stickerId: string) => void): void;
|
|
18
|
+
/**
|
|
19
|
+
* 监听命令 贴纸的控制器变更
|
|
20
|
+
*/
|
|
21
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, stickerId: string) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* 监听命令 贴纸修改编辑状态
|
|
24
|
+
*/
|
|
25
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* 监听命令 贴纸半径球体预览
|
|
28
|
+
*/
|
|
29
|
+
onRadiusSpherePreview(callback: (position: Vector3, radius: number, visible: boolean) => void): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VrComponentControllerType, VrTarget } from '@/model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听目标点相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandTarget {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 创建目标点
|
|
8
|
+
*/
|
|
9
|
+
onCreate(callback: (targetData: VrTarget) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 更新目标点
|
|
12
|
+
*/
|
|
13
|
+
onUpdate(callback: (targetData: VrTarget) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 删除目标点
|
|
16
|
+
*/
|
|
17
|
+
onDelete(callback: (targetId: string) => void): void;
|
|
18
|
+
/**
|
|
19
|
+
* 监听命令 目标点的控制器变更
|
|
20
|
+
*/
|
|
21
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, targetId: string) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* 监听命令 目标点修改编辑状态
|
|
24
|
+
*/
|
|
25
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* 监听命令 目标点组的可见状态切换
|
|
28
|
+
*/
|
|
29
|
+
onGroupVisibleUpdate(callback: (groupId: string, visible: boolean) => void): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { VrTrimmerData } from '@/model/vr/vr-trimmer-data';
|
|
2
|
+
import { VrComponentControllerType } from '@/model';
|
|
3
|
+
/**
|
|
4
|
+
* 播放器监听TRIMMER修剪器相关命令
|
|
5
|
+
*/
|
|
6
|
+
export declare class PlayerComCommandTrimmer {
|
|
7
|
+
/**
|
|
8
|
+
* 监听命令 创建修剪器
|
|
9
|
+
*/
|
|
10
|
+
onCreate(callback: (trimmerData: VrTrimmerData) => void): void;
|
|
11
|
+
/**
|
|
12
|
+
* 监听命令 更新修剪器
|
|
13
|
+
*/
|
|
14
|
+
onUpdate(callback: (trimmerData: VrTrimmerData) => void): void;
|
|
15
|
+
/**
|
|
16
|
+
* 监听命令 删除修剪器
|
|
17
|
+
*/
|
|
18
|
+
onDelete(callback: (trimmerId: string) => void): void;
|
|
19
|
+
/**
|
|
20
|
+
* 监听命令 修剪器的控制器变更
|
|
21
|
+
*/
|
|
22
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, trimmerId: string) => void): void;
|
|
23
|
+
/**
|
|
24
|
+
* 监听命令 修剪器修改编辑状态
|
|
25
|
+
*/
|
|
26
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VrComponentControllerType, VrWormhole } from '@/model';
|
|
2
|
+
/**
|
|
3
|
+
* 播放器监听虫洞相关命令
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerComCommandWormhole {
|
|
6
|
+
/**
|
|
7
|
+
* 监听命令 创建虫洞
|
|
8
|
+
*/
|
|
9
|
+
onCreate(callback: (wormholeData: VrWormhole) => void): void;
|
|
10
|
+
/**
|
|
11
|
+
* 监听命令 更新虫洞
|
|
12
|
+
*/
|
|
13
|
+
onUpdate(callback: (wormholeData: VrWormhole) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* 监听命令 删除虫洞
|
|
16
|
+
*/
|
|
17
|
+
onDelete(callback: (wormholeId: string) => void): void;
|
|
18
|
+
/**
|
|
19
|
+
* 监听命令 虫洞的控制器变更
|
|
20
|
+
*/
|
|
21
|
+
onControllerModify(callback: (controllerType: VrComponentControllerType, wormholeId: string) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* 监听命令 虫洞修改编辑状态
|
|
24
|
+
*/
|
|
25
|
+
onEditingStateUpdate(callback: (editingState: boolean) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* 监听命令 虫洞组的可见状态切换
|
|
28
|
+
*/
|
|
29
|
+
onGroupVisibleUpdate(callback: (groupId: string, visible: boolean) => void): void;
|
|
30
|
+
}
|
|
@@ -11,7 +11,7 @@ export declare class PlayerComCommand {
|
|
|
11
11
|
/**
|
|
12
12
|
* VR播放器向父层发送的消息类型
|
|
13
13
|
*/
|
|
14
|
-
export declare type PlayerComCommandType = 'vrtalk_cmd_player_start' | 'vrtalk_cmd_player_mode_update' | 'vrtalk_cmd_cover_settings_update' | 'vrtalk_cmd_ui_settings_update' | 'vrtalk_cmd_info_template_settings_update' | 'vrtalk_cmd_component_create' | 'vrtalk_cmd_component_update' | 'vrtalk_cmd_component_delete' | 'vrtalk_cmd_component_follow_mouse' | 'vrtalk_cmd_component_controller' | 'vrtalk_cmd_component_play_transition_animation' | 'vrtalk_cmd_component_3d_model_play_animation_clip' | 'vrtalk_cmd_layer_update' | 'vrtalk_cmd_layer_delete' | 'vrtalk_cmd_layer_visible' | 'vrtalk_cmd_marker_update' | 'vrtalk_cmd_marker_delete' | 'vrtalk_cmd_marker_group_update' | 'vrtalk_cmd_marker_group_delete' | 'vrtalk_cmd_sweep_update_all' | 'vrtalk_cmd_sweep_update' | 'vrtalk_cmd_sweep_delete_virtual' | 'vrtalk_cmd_sweep_update_render_flag_visible' | 'vrtalk_cmd_floor_update' | 'vrtalk_cmd_camera_move_to' | 'vrtalk_cmd_camera_move_to_inside' | 'vrtalk_cmd_camera_move_to_vr_fov' | 'vrtalk_cmd_camera_move_to_near_component' | 'vrtalk_cmd_renderer_take_screenshot' | 'vrtalk_cmd_renderer_get_panorama_image' | 'vrtalk_cmd_navigation_request' | 'vrtalk_cmd_navigation_start' | 'vrtalk_cmd_navigation_cancel' | 'vrtalk_cmd_audio_update' | 'vrtalk_cmd_audio_delete' | 'vrtalk_cmd_audio_list_update' | 'vrtalk_cmd_audio_list_delete' | 'vrtalk_cmd_audio_center_player_show_play_control_update' | 'vrtalk_cmd_audio_center_player_show_volume_control_update' | 'vrtalk_cmd_audio_center_player_volume_update';
|
|
14
|
+
export declare type PlayerComCommandType = 'vrtalk_cmd_player_start' | 'vrtalk_cmd_player_mode_update' | 'vrtalk_cmd_cover_settings_update' | 'vrtalk_cmd_ui_settings_update' | 'vrtalk_cmd_info_template_settings_update' | 'vrtalk_cmd_component_create' | 'vrtalk_cmd_component_update' | 'vrtalk_cmd_component_delete' | 'vrtalk_cmd_component_follow_mouse' | 'vrtalk_cmd_component_controller' | 'vrtalk_cmd_component_play_transition_animation' | 'vrtalk_cmd_component_stop_transition_animation' | 'vrtalk_cmd_component_3d_model_play_animation_clip' | 'vrtalk_cmd_component_3d_model_stop_animation_clip' | 'vrtalk_cmd_component_2d_text_auto_fit' | 'vrtalk_cmd_fov_enter_shot_mode' | 'vrtalk_cmd_fov_exit_shot_mode' | 'vrtalk_cmd_fov_update' | 'vrtalk_cmd_fov_delete' | 'vrtalk_cmd_layer_update' | 'vrtalk_cmd_layer_delete' | 'vrtalk_cmd_layer_visible' | 'vrtalk_cmd_information_content_card_update' | 'vrtalk_cmd_information_content_card_delete' | 'vrtalk_cmd_marker_update' | 'vrtalk_cmd_marker_delete' | 'vrtalk_cmd_marker_group_update' | 'vrtalk_cmd_marker_group_delete' | 'vrtalk_cmd_sweep_update_all' | 'vrtalk_cmd_sweep_update' | 'vrtalk_cmd_sweep_delete_virtual' | 'vrtalk_cmd_sweep_update_render_flag_visible' | 'vrtalk_cmd_light_create' | 'vrtalk_cmd_light_update' | 'vrtalk_cmd_light_delete' | 'vrtalk_cmd_trimmer_create' | 'vrtalk_cmd_trimmer_update' | 'vrtalk_cmd_trimmer_delete' | 'vrtalk_cmd_trimmer_controller' | 'vrtalk_cmd_trimmer_editing_state_update' | 'vrtalk_cmd_sticker_create' | 'vrtalk_cmd_sticker_update' | 'vrtalk_cmd_sticker_delete' | 'vrtalk_cmd_sticker_controller' | 'vrtalk_cmd_sticker_editing_state_update' | 'vrtalk_cmd_sticker_radius_sphere_preview' | 'vrtalk_cmd_target_create' | 'vrtalk_cmd_target_update' | 'vrtalk_cmd_target_delete' | 'vrtalk_cmd_target_controller' | 'vrtalk_cmd_target_editing_state_update' | 'vrtalk_cmd_target_group_visible_update' | 'vrtalk_cmd_obstacle_create' | 'vrtalk_cmd_obstacle_update' | 'vrtalk_cmd_obstacle_delete' | 'vrtalk_cmd_obstacle_controller' | 'vrtalk_cmd_obstacle_editing_state_update' | 'vrtalk_cmd_obstacle_group_visible_update' | 'vrtalk_cmd_space_fence_create' | 'vrtalk_cmd_space_fence_update' | 'vrtalk_cmd_space_fence_delete' | 'vrtalk_cmd_space_fence_controller' | 'vrtalk_cmd_space_fence_editing_state_update' | 'vrtalk_cmd_space_fence_group_visible_update' | 'vrtalk_cmd_space_fence_group_color_update' | 'vrtalk_cmd_wormhole_create' | 'vrtalk_cmd_wormhole_update' | 'vrtalk_cmd_wormhole_delete' | 'vrtalk_cmd_wormhole_controller' | 'vrtalk_cmd_wormhole_editing_state_update' | 'vrtalk_cmd_wormhole_group_visible_update' | 'vrtalk_cmd_asset_label_create' | 'vrtalk_cmd_asset_label_update' | 'vrtalk_cmd_asset_label_delete' | 'vrtalk_cmd_asset_label_controller' | 'vrtalk_cmd_asset_label_editing_state_update' | 'vrtalk_cmd_floor_update' | 'vrtalk_cmd_camera_move_to' | 'vrtalk_cmd_camera_move_to_inside' | 'vrtalk_cmd_camera_move_to_vr_fov' | 'vrtalk_cmd_camera_move_to_near_component' | 'vrtalk_cmd_camera_move_to_watch_position' | 'vrtalk_cmd_renderer_take_screenshot' | 'vrtalk_cmd_renderer_get_panorama_image' | 'vrtalk_cmd_navigation_request' | 'vrtalk_cmd_navigation_start' | 'vrtalk_cmd_navigation_cancel' | 'vrtalk_cmd_audio_update' | 'vrtalk_cmd_audio_delete' | 'vrtalk_cmd_audio_list_update' | 'vrtalk_cmd_audio_list_delete' | 'vrtalk_cmd_audio_center_player_show_play_control_update' | 'vrtalk_cmd_audio_center_player_show_volume_control_update' | 'vrtalk_cmd_audio_center_player_volume_update' | 'vrtalk_cmd_monitor_list_update' | 'vrtalk_cmd_message_card_preview';
|
|
15
15
|
export declare class PlayerComCommandTypeDefine {
|
|
16
16
|
static readonly PLAYER_START: PlayerComCommandType;
|
|
17
17
|
static readonly PLAYER_MODE_UPDATE: PlayerComCommandType;
|
|
@@ -24,7 +24,14 @@ export declare class PlayerComCommandTypeDefine {
|
|
|
24
24
|
static readonly COMPONENT_FOLLOW_MOUSE: PlayerComCommandType;
|
|
25
25
|
static readonly COMPONENT_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
26
26
|
static readonly COMPONENT_PLAY_TRANSITION_ANIMATION: PlayerComCommandType;
|
|
27
|
+
static readonly COMPONENT_STOP_TRANSITION_ANIMATION: PlayerComCommandType;
|
|
27
28
|
static readonly COMPONENT_3D_MODEL_PLAY_ANIMATION_CLIP: PlayerComCommandType;
|
|
29
|
+
static readonly COMPONENT_3D_MODEL_STOP_ANIMATION_CLIP: PlayerComCommandType;
|
|
30
|
+
static readonly COMPONENT_2D_TEXT_AUTO_FIT: PlayerComCommandType;
|
|
31
|
+
static readonly FOV_ENTER_SHOT_MODE: PlayerComCommandType;
|
|
32
|
+
static readonly FOV_EXIT_SHOT_MODE: PlayerComCommandType;
|
|
33
|
+
static readonly FOV_UPDATE: PlayerComCommandType;
|
|
34
|
+
static readonly FOV_DELETE: PlayerComCommandType;
|
|
28
35
|
static readonly LAYER_UPDATE: PlayerComCommandType;
|
|
29
36
|
static readonly LAYER_DELETE: PlayerComCommandType;
|
|
30
37
|
static readonly LAYER_VISIBLE: PlayerComCommandType;
|
|
@@ -32,7 +39,53 @@ export declare class PlayerComCommandTypeDefine {
|
|
|
32
39
|
static readonly SWEEP_UPDATE: PlayerComCommandType;
|
|
33
40
|
static readonly SWEEP_DELETE_VIRTUAL: PlayerComCommandType;
|
|
34
41
|
static readonly SWEEP_UPDATE_RENDER_FLAG_VISIBLE: PlayerComCommandType;
|
|
42
|
+
static readonly LIGHT_CREATE: PlayerComCommandType;
|
|
43
|
+
static readonly LIGHT_UPDATE: PlayerComCommandType;
|
|
44
|
+
static readonly LIGHT_DELETE: PlayerComCommandType;
|
|
45
|
+
static readonly TRIMMER_CREATE: PlayerComCommandType;
|
|
46
|
+
static readonly TRIMMER_UPDATE: PlayerComCommandType;
|
|
47
|
+
static readonly TRIMMER_DELETE: PlayerComCommandType;
|
|
48
|
+
static readonly TRIMMER_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
49
|
+
static readonly TRIMMER_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
50
|
+
static readonly STICKER_CREATE: PlayerComCommandType;
|
|
51
|
+
static readonly STICKER_UPDATE: PlayerComCommandType;
|
|
52
|
+
static readonly STICKER_DELETE: PlayerComCommandType;
|
|
53
|
+
static readonly STICKER_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
54
|
+
static readonly STICKER_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
55
|
+
static readonly STICKER_RADIUS_SPHERE_PREVIEW: PlayerComCommandType;
|
|
56
|
+
static readonly TARGET_CREATE: PlayerComCommandType;
|
|
57
|
+
static readonly TARGET_UPDATE: PlayerComCommandType;
|
|
58
|
+
static readonly TARGET_DELETE: PlayerComCommandType;
|
|
59
|
+
static readonly TARGET_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
60
|
+
static readonly TARGET_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
61
|
+
static readonly TARGET_GROUP_VISIBLE_UPDATE: PlayerComCommandType;
|
|
62
|
+
static readonly OBSTACLE_CREATE: PlayerComCommandType;
|
|
63
|
+
static readonly OBSTACLE_UPDATE: PlayerComCommandType;
|
|
64
|
+
static readonly OBSTACLE_DELETE: PlayerComCommandType;
|
|
65
|
+
static readonly OBSTACLE_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
66
|
+
static readonly OBSTACLE_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
67
|
+
static readonly OBSTACLE_GROUP_VISIBLE_UPDATE: PlayerComCommandType;
|
|
68
|
+
static readonly SPACE_FENCE_CREATE: PlayerComCommandType;
|
|
69
|
+
static readonly SPACE_FENCE_UPDATE: PlayerComCommandType;
|
|
70
|
+
static readonly SPACE_FENCE_DELETE: PlayerComCommandType;
|
|
71
|
+
static readonly SPACE_FENCE_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
72
|
+
static readonly SPACE_FENCE_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
73
|
+
static readonly SPACE_FENCE_GROUP_VISIBLE_UPDATE: PlayerComCommandType;
|
|
74
|
+
static readonly SPACE_FENCE_GROUP_COLOR_UPDATE: PlayerComCommandType;
|
|
75
|
+
static readonly WORMHOLE_CREATE: PlayerComCommandType;
|
|
76
|
+
static readonly WORMHOLE_UPDATE: PlayerComCommandType;
|
|
77
|
+
static readonly WORMHOLE_DELETE: PlayerComCommandType;
|
|
78
|
+
static readonly WORMHOLE_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
79
|
+
static readonly WORMHOLE_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
80
|
+
static readonly WORMHOLE_GROUP_VISIBLE_UPDATE: PlayerComCommandType;
|
|
81
|
+
static readonly ASSET_LABEL_CREATE: PlayerComCommandType;
|
|
82
|
+
static readonly ASSET_LABEL_UPDATE: PlayerComCommandType;
|
|
83
|
+
static readonly ASSET_LABEL_DELETE: PlayerComCommandType;
|
|
84
|
+
static readonly ASSET_LABEL_CONTROLLER_MODIFY: PlayerComCommandType;
|
|
85
|
+
static readonly ASSET_LABEL_EDITING_STATE_UPDATE: PlayerComCommandType;
|
|
35
86
|
static readonly FLOOR_UPDATE: PlayerComCommandType;
|
|
87
|
+
static readonly INFORMATION_CONTENT_CARD_UPDATE: PlayerComCommandType;
|
|
88
|
+
static readonly INFORMATION_CONTENT_CARD_DELETE: PlayerComCommandType;
|
|
36
89
|
static readonly MARKER_UPDATE: PlayerComCommandType;
|
|
37
90
|
static readonly MARKER_DELETE: PlayerComCommandType;
|
|
38
91
|
static readonly MARKER_GROUP_UPDATE: PlayerComCommandType;
|
|
@@ -41,6 +94,7 @@ export declare class PlayerComCommandTypeDefine {
|
|
|
41
94
|
static readonly CAMERA_MOVE_TO_INSIDE: PlayerComCommandType;
|
|
42
95
|
static readonly CAMERA_MOVE_TO_VR_FOV: PlayerComCommandType;
|
|
43
96
|
static readonly CAMERA_MOVE_TO_NEAR_COMPONENT: PlayerComCommandType;
|
|
97
|
+
static readonly CAMERA_MOVE_TO_WATCH_POSITION: PlayerComCommandType;
|
|
44
98
|
static readonly RENDERER_TAKE_SCREENSHOT: PlayerComCommandType;
|
|
45
99
|
static readonly RENDERER_GET_PANORAMA_IMAGE: PlayerComCommandType;
|
|
46
100
|
static readonly NAVIGATION_REQUEST: PlayerComCommandType;
|
|
@@ -53,4 +107,6 @@ export declare class PlayerComCommandTypeDefine {
|
|
|
53
107
|
static readonly AUDIO_CENTER_PLAYER_SHOW_PLAY_CONTROL_UPDATE: PlayerComCommandType;
|
|
54
108
|
static readonly AUDIO_CENTER_PLAYER_SHOW_VOLUME_CONTROL_UPDATE: PlayerComCommandType;
|
|
55
109
|
static readonly AUDIO_CENTER_PLAYER_VOLUME_UPDATE: PlayerComCommandType;
|
|
110
|
+
static readonly MONITOR_LIST_UPDATE: PlayerComCommandType;
|
|
111
|
+
static readonly MESSAGE_CARD_PREVIEW: PlayerComCommandType;
|
|
56
112
|
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
export * from './player-com-message';
|
|
2
|
+
export * from './player-com-message-asset-label';
|
|
2
3
|
export * from './player-com-message-camera';
|
|
3
4
|
export * from './player-com-message-component';
|
|
5
|
+
export * from './player-com-message-fov';
|
|
4
6
|
export * from './player-com-message-floor';
|
|
5
7
|
export * from './player-com-message-navigation';
|
|
8
|
+
export * from './player-com-message-obstacle';
|
|
6
9
|
export * from './player-com-message-player';
|
|
7
10
|
export * from './player-com-message-renderer';
|
|
11
|
+
export * from './player-com-message-sticker';
|
|
8
12
|
export * from './player-com-message-sweep';
|
|
13
|
+
export * from './player-com-message-target';
|
|
14
|
+
export * from './player-com-message-trimmer';
|
|
15
|
+
export * from './player-com-message-wormhole';
|
|
16
|
+
export * from './player-com-message-space-fence';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VrAssetLabel } from '@/model';
|
|
2
|
+
export declare class PlayerComMessageAssetLabel {
|
|
3
|
+
/**
|
|
4
|
+
* 发送ASSET LABEL更新消息
|
|
5
|
+
* 当新增的ASSET LABEL或者编辑中的ASSET LABEL跟随鼠标移动时ASSET LABEL点击右键或者控制器修改了ASSET LABEL数据时,使用此消息报告给父层,发送的是ASSET LABEL完整数据
|
|
6
|
+
*/
|
|
7
|
+
sendUpdate(assetLabelData: VrAssetLabel): void;
|
|
8
|
+
/**
|
|
9
|
+
* 发送ASSET LABEL点击事件
|
|
10
|
+
* 当ASSET LABEL被点击时发送此消息,发送的是ASSET LABEL的id
|
|
11
|
+
*/
|
|
12
|
+
sendOnClick(assetLabelId: string): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VrObstacle } from '../../model';
|
|
2
|
+
export declare class PlayerComMessageObstacle {
|
|
3
|
+
/**
|
|
4
|
+
* 发送阻隔器更新消息
|
|
5
|
+
* 当新增的阻隔器或者编辑中的阻隔器跟随鼠标移动时阻隔器点击右键或者控制器修改了阻隔器数据时,使用此消息报告给父层,发送的是阻隔器完整数据
|
|
6
|
+
*/
|
|
7
|
+
sendUpdate(obstacleData: VrObstacle): void;
|
|
8
|
+
/**
|
|
9
|
+
* 发送阻隔器点击事件
|
|
10
|
+
* 当阻隔器被点击时发送此消息,发送的是阻隔器的id
|
|
11
|
+
*/
|
|
12
|
+
sendOnClick(obstacleId: string): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VrSticker } from '../../model';
|
|
2
|
+
export declare class PlayerComMessageSticker {
|
|
3
|
+
/**
|
|
4
|
+
* 发送贴纸更新消息
|
|
5
|
+
* 当新增的贴纸或者编辑中的贴纸跟随鼠标移动时贴纸点击右键或者控制器修改了贴纸数据时,使用此消息报告给父层,发送的是贴纸完整数据
|
|
6
|
+
*/
|
|
7
|
+
sendUpdate(stickerData: VrSticker): void;
|
|
8
|
+
/**
|
|
9
|
+
* 发送贴纸点击事件
|
|
10
|
+
* 当贴纸被点击时发送此消息,发送的是贴纸的id
|
|
11
|
+
*/
|
|
12
|
+
sendOnClick(stickerId: string): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VrTarget } from '../../model';
|
|
2
|
+
export declare class PlayerComMessageTarget {
|
|
3
|
+
/**
|
|
4
|
+
* 发送目标点更新消息
|
|
5
|
+
* 当新增的目标点或者编辑中的目标点跟随鼠标移动时目标点点击右键或者控制器修改了目标点数据时,使用此消息报告给父层,发送的是目标点完整数据
|
|
6
|
+
*/
|
|
7
|
+
sendUpdate(targetData: VrTarget): void;
|
|
8
|
+
/**
|
|
9
|
+
* 发送目标点点击事件
|
|
10
|
+
* 当目标点被点击时发送此消息,发送的是目标点的id
|
|
11
|
+
*/
|
|
12
|
+
sendOnClick(targetId: string): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VrTrimmerData } from '../../model';
|
|
2
|
+
export declare class PlayerComMessageTrimmer {
|
|
3
|
+
/**
|
|
4
|
+
* 发送修剪器更新消息
|
|
5
|
+
* 当新增的修剪器或者编辑中的修剪器跟随鼠标移动时修剪器点击右键或者控制器修改了修剪器数据时,使用此消息报告给父层,发送的是修剪器完整数据
|
|
6
|
+
*/
|
|
7
|
+
sendUpdate(trimmerData: VrTrimmerData): void;
|
|
8
|
+
/**
|
|
9
|
+
* 发送修剪器点击事件
|
|
10
|
+
* 当修剪器被点击时发送此消息,发送的是修剪器的id
|
|
11
|
+
*/
|
|
12
|
+
sendOnClick(trimmerId: string): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VrWormhole } from '../../model';
|
|
2
|
+
export declare class PlayerComMessageWormhole {
|
|
3
|
+
/**
|
|
4
|
+
* 发送虫洞更新消息
|
|
5
|
+
* 当新增的虫洞或者编辑中的虫洞跟随鼠标移动时虫洞点击右键或者控制器修改了虫洞数据时,使用此消息报告给父层,发送的是虫洞完整数据
|
|
6
|
+
*/
|
|
7
|
+
sendUpdate(wormholeData: VrWormhole): void;
|
|
8
|
+
/**
|
|
9
|
+
* 发送虫洞点击事件
|
|
10
|
+
* 当虫洞被点击时发送此消息,发送的是虫洞的id
|
|
11
|
+
*/
|
|
12
|
+
sendOnClick(wormholeId: string): void;
|
|
13
|
+
}
|