@realsee/dnalogel 2.0.0-alpha.51 → 2.0.0-alpha.54

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.
Files changed (223) hide show
  1. package/dist/CSS3DRenderPlugin/CruisePlugin/index.d.ts +2 -3
  2. package/dist/CSS3DRenderPlugin/CruisePlugin/typing.d.ts +11 -1
  3. package/dist/CSS3DRenderPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  4. package/dist/CSS3DRenderPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  5. package/dist/CSS3DRenderPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  6. package/dist/CameraMovementPlugin/CruisePlugin/index.d.ts +2 -3
  7. package/dist/CameraMovementPlugin/CruisePlugin/typing.d.ts +11 -1
  8. package/dist/CameraMovementPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  9. package/dist/CameraMovementPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  10. package/dist/CameraMovementPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  11. package/dist/CruisePlugin/CruisePlugin/index.d.ts +2 -3
  12. package/dist/CruisePlugin/CruisePlugin/typing.d.ts +11 -1
  13. package/dist/CruisePlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  14. package/dist/CruisePlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  15. package/dist/CruisePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  16. package/dist/CruisePlugin/index.d.ts +2 -3
  17. package/dist/CruisePlugin/index.js +265 -41
  18. package/dist/CruisePlugin/typing.d.ts +11 -1
  19. package/dist/CruisePlugin/utils/sleep.d.ts +1 -0
  20. package/dist/GuideLinePlugin/CruisePlugin/index.d.ts +2 -3
  21. package/dist/GuideLinePlugin/CruisePlugin/typing.d.ts +11 -1
  22. package/dist/GuideLinePlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  23. package/dist/GuideLinePlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  24. package/dist/GuideLinePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  25. package/dist/GuideLinePlugin/index.js +201 -13
  26. package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  27. package/dist/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  28. package/dist/ItemLabelPlugin/CruisePlugin/index.d.ts +2 -3
  29. package/dist/ItemLabelPlugin/CruisePlugin/typing.d.ts +11 -1
  30. package/dist/ItemLabelPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  31. package/dist/ItemLabelPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  32. package/dist/ItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  33. package/dist/ModelChassisCompassPlugin/CruisePlugin/index.d.ts +2 -3
  34. package/dist/ModelChassisCompassPlugin/CruisePlugin/typing.d.ts +11 -1
  35. package/dist/ModelChassisCompassPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  36. package/dist/ModelChassisCompassPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  37. package/dist/ModelChassisCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  38. package/dist/ModelEntryDoorGuidePlugin/CruisePlugin/index.d.ts +2 -3
  39. package/dist/ModelEntryDoorGuidePlugin/CruisePlugin/typing.d.ts +11 -1
  40. package/dist/ModelEntryDoorGuidePlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  41. package/dist/ModelEntryDoorGuidePlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  42. package/dist/ModelEntryDoorGuidePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  43. package/dist/ModelItemLabelPlugin/CruisePlugin/index.d.ts +2 -3
  44. package/dist/ModelItemLabelPlugin/CruisePlugin/typing.d.ts +11 -1
  45. package/dist/ModelItemLabelPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  46. package/dist/ModelItemLabelPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  47. package/dist/ModelItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  48. package/dist/ModelRoomLabelPlugin/CruisePlugin/index.d.ts +2 -3
  49. package/dist/ModelRoomLabelPlugin/CruisePlugin/typing.d.ts +11 -1
  50. package/dist/ModelRoomLabelPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  51. package/dist/ModelRoomLabelPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  52. package/dist/ModelRoomLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  53. package/dist/ModelTVVideoPlugin/CruisePlugin/index.d.ts +2 -3
  54. package/dist/ModelTVVideoPlugin/CruisePlugin/typing.d.ts +11 -1
  55. package/dist/ModelTVVideoPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  56. package/dist/ModelTVVideoPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  57. package/dist/ModelTVVideoPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  58. package/dist/ModelViewPlugin/CruisePlugin/index.d.ts +2 -3
  59. package/dist/ModelViewPlugin/CruisePlugin/typing.d.ts +11 -1
  60. package/dist/ModelViewPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  61. package/dist/ModelViewPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  62. package/dist/ModelViewPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  63. package/dist/PanoCompassPlugin/CruisePlugin/index.d.ts +2 -3
  64. package/dist/PanoCompassPlugin/CruisePlugin/typing.d.ts +11 -1
  65. package/dist/PanoCompassPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  66. package/dist/PanoCompassPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  67. package/dist/PanoCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  68. package/dist/PanoCursorRaycasterPlugin/CruisePlugin/index.d.ts +2 -3
  69. package/dist/PanoCursorRaycasterPlugin/CruisePlugin/typing.d.ts +11 -1
  70. package/dist/PanoCursorRaycasterPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  71. package/dist/PanoCursorRaycasterPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  72. package/dist/PanoCursorRaycasterPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  73. package/dist/PanoDoorLabelPlugin/CruisePlugin/index.d.ts +2 -3
  74. package/dist/PanoDoorLabelPlugin/CruisePlugin/typing.d.ts +11 -1
  75. package/dist/PanoDoorLabelPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  76. package/dist/PanoDoorLabelPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  77. package/dist/PanoDoorLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  78. package/dist/PanoMeasurePlugin/CruisePlugin/index.d.ts +2 -3
  79. package/dist/PanoMeasurePlugin/CruisePlugin/typing.d.ts +11 -1
  80. package/dist/PanoMeasurePlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  81. package/dist/PanoMeasurePlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  82. package/dist/PanoMeasurePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  83. package/dist/PanoRulerPlugin/CruisePlugin/index.d.ts +2 -3
  84. package/dist/PanoRulerPlugin/CruisePlugin/typing.d.ts +11 -1
  85. package/dist/PanoRulerPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  86. package/dist/PanoRulerPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  87. package/dist/PanoRulerPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  88. package/dist/PanoRulerProPlugin/CruisePlugin/index.d.ts +2 -3
  89. package/dist/PanoRulerProPlugin/CruisePlugin/typing.d.ts +11 -1
  90. package/dist/PanoRulerProPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  91. package/dist/PanoRulerProPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  92. package/dist/PanoRulerProPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  93. package/dist/PanoSpatialTagPlugin/CruisePlugin/index.d.ts +2 -3
  94. package/dist/PanoSpatialTagPlugin/CruisePlugin/typing.d.ts +11 -1
  95. package/dist/PanoSpatialTagPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  96. package/dist/PanoSpatialTagPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  97. package/dist/PanoSpatialTagPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  98. package/dist/floorplan/MapviewFloorplanPlugin/CruisePlugin/index.d.ts +2 -3
  99. package/dist/floorplan/MapviewFloorplanPlugin/CruisePlugin/typing.d.ts +11 -1
  100. package/dist/floorplan/MapviewFloorplanPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  101. package/dist/floorplan/MapviewFloorplanPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  102. package/dist/floorplan/MapviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  103. package/dist/floorplan/ModelFloorplanPlugin/CruisePlugin/index.d.ts +2 -3
  104. package/dist/floorplan/ModelFloorplanPlugin/CruisePlugin/typing.d.ts +11 -1
  105. package/dist/floorplan/ModelFloorplanPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  106. package/dist/floorplan/ModelFloorplanPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  107. package/dist/floorplan/ModelFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  108. package/dist/floorplan/PanoFloorplanRadarPlugin/CruisePlugin/index.d.ts +2 -3
  109. package/dist/floorplan/PanoFloorplanRadarPlugin/CruisePlugin/typing.d.ts +11 -1
  110. package/dist/floorplan/PanoFloorplanRadarPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  111. package/dist/floorplan/PanoFloorplanRadarPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  112. package/dist/floorplan/PanoFloorplanRadarPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  113. package/dist/floorplan/TopviewFloorplanPlugin/CruisePlugin/index.d.ts +2 -3
  114. package/dist/floorplan/TopviewFloorplanPlugin/CruisePlugin/typing.d.ts +11 -1
  115. package/dist/floorplan/TopviewFloorplanPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
  116. package/dist/floorplan/TopviewFloorplanPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  117. package/dist/floorplan/TopviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  118. package/dist/index.d.ts +2 -0
  119. package/dist/index.es.js +1308 -15
  120. package/dist/index.js +1310 -14
  121. package/dist/index.umd.js +1310 -14
  122. package/docs/assets/search.js +1 -1
  123. package/docs/classes/CruisePluginController.html +23 -0
  124. package/docs/classes/Magnifier.html +5 -5
  125. package/docs/classes/ModelRoomLabelController.html +5 -5
  126. package/docs/enums/CameraMovementEffect.html +2 -2
  127. package/docs/enums/DIRECTION.html +1 -1
  128. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  129. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  130. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  131. package/docs/enums/Rotation.html +2 -2
  132. package/docs/index.html +2 -2
  133. package/docs/interfaces/CSS3DRenderPluginExportType.html +3 -3
  134. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  135. package/docs/interfaces/EventMap.html +15 -0
  136. package/docs/interfaces/FloorplanBounding.html +5 -5
  137. package/docs/interfaces/FloorplanData.html +2 -2
  138. package/docs/interfaces/FloorplanEntrance.html +8 -8
  139. package/docs/interfaces/FloorplanExtraObject.html +4 -4
  140. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  141. package/docs/interfaces/FloorplanFloorData.html +2 -2
  142. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  143. package/docs/interfaces/FloorplanObserver.html +2 -2
  144. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  145. package/docs/interfaces/FloorplanPosition.html +2 -2
  146. package/docs/interfaces/FloorplanRoomItem.html +7 -7
  147. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  148. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  149. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  150. package/docs/interfaces/FloorplanServerData.html +2 -2
  151. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  152. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  153. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  154. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  155. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  156. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  157. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  158. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  159. package/docs/interfaces/FloorplanServerRoomItem.html +8 -8
  160. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  161. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  162. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  163. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  164. package/docs/interfaces/LineJson.html +1 -1
  165. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  166. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  167. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  168. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  169. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  170. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  171. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  172. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  173. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  174. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  175. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  176. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  177. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  178. package/docs/interfaces/OpenParameter.html +2 -2
  179. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  180. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  181. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  182. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  183. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  184. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  185. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  186. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  187. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  188. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  189. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  190. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  191. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  192. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  193. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  194. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  195. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  196. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  197. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  198. package/docs/interfaces/PluginData.html +1 -0
  199. package/docs/interfaces/PluginServerData.html +3 -0
  200. package/docs/interfaces/PluginState.html +5 -0
  201. package/docs/interfaces/Point.html +1 -1
  202. package/docs/interfaces/PointJson.html +1 -1
  203. package/docs/interfaces/Room.html +1 -1
  204. package/docs/interfaces/RoomInfo.html +1 -1
  205. package/docs/interfaces/RoomLabel.html +7 -7
  206. package/docs/interfaces/RoomRules.html +1 -1
  207. package/docs/interfaces/Rooms.html +1 -1
  208. package/docs/interfaces/Route.html +1 -0
  209. package/docs/modules.html +18 -18
  210. package/libs/CruisePlugin/Controller.js +57 -28
  211. package/libs/CruisePlugin/index.d.ts +2 -3
  212. package/libs/CruisePlugin/index.js +1 -3
  213. package/libs/CruisePlugin/typing.d.ts +11 -1
  214. package/libs/CruisePlugin/utils/sleep.d.ts +1 -0
  215. package/libs/CruisePlugin/utils/sleep.js +7 -0
  216. package/libs/GuideLinePlugin/Controller.js +3 -3
  217. package/libs/GuideLinePlugin/utils/getArrowMaterial.d.ts +1 -1
  218. package/libs/GuideLinePlugin/utils/getArrowMaterial.js +6 -1
  219. package/libs/GuideLinePlugin/utils/getLineGeometry.d.ts +1 -1
  220. package/libs/GuideLinePlugin/utils/getLineGeometry.js +4 -4
  221. package/libs/index.d.ts +2 -0
  222. package/libs/index.js +4 -0
  223. package/package.json +2 -1
@@ -1,7 +1,6 @@
1
1
  import type { FivePlugin } from '@realsee/five';
2
2
  import CruisePluginController from './Controller';
3
- export * from './typing';
4
3
  export { CruisePluginController };
5
- declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
6
- export { CruisePlugin };
4
+ export declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
5
+ export type { CruisePluginExportType } from './typing';
7
6
  export default CruisePlugin;
@@ -2,7 +2,7 @@ import type { MovePanoOptions, Pose, State } from '@realsee/five';
2
2
  import type CruisePlugin from '.';
3
3
  import type * as BasePluginWithData from '../base/BasePluginWithData';
4
4
  declare type FivePoseAndState = Partial<Pose> & Partial<State>;
5
- declare type MoveEffect = MovePanoOptions['effect'];
5
+ export declare type MoveEffect = MovePanoOptions['effect'];
6
6
  export declare type CruiseData = {
7
7
  /** 移动/旋转 */
8
8
  effect: 'Move' | 'Rotate';
@@ -16,6 +16,8 @@ export declare type CruiseData = {
16
16
  export interface CruiseKeyframe {
17
17
  id: string;
18
18
  index: number;
19
+ moveIndex: number;
20
+ stay?: number;
19
21
  start?: number;
20
22
  end?: number;
21
23
  data: CruiseData;
@@ -39,13 +41,21 @@ export interface PluginServerData extends BasePluginWithData.ServerData {
39
41
  moveEffect?: undefined;
40
42
  /** for ts check, no care */
41
43
  moveType?: undefined;
44
+ /** for ts check, no care */
45
+ moveToFirstPanoEffect?: undefined;
46
+ /** for ts check, no care */
47
+ stay?: undefined;
42
48
  } | {
43
49
  /** 点位列表 */
44
50
  panoIndexList: number[];
45
51
  /** five走点动画 */
46
52
  moveEffect?: MoveEffect;
53
+ /** 到第一个点的走点动画 / 续播到暂停处的走点动画 */
54
+ moveToFirstPanoEffect?: MoveEffect;
47
55
  /** 漫游方式:justMove 为移动到指定点位,且朝向为下一个点的朝向;moveAndRotate 为先移动到指定点位且朝向不变,然后旋转到下一个点的朝向 */
48
56
  moveType?: 'justMove' | 'moveAndRotate';
57
+ /** 停留时长 */
58
+ stay?: number;
49
59
  /** for ts check, no care */
50
60
  keyframes?: undefined;
51
61
  };
@@ -0,0 +1 @@
1
+ export declare function sleep(duration: number): Promise<void>;
@@ -1,4 +1,4 @@
1
1
  import * as THREE from 'three';
2
2
  export declare function getArrowMaterial(params?: {
3
- textureUtl?: string;
3
+ textureUrl?: string;
4
4
  }): THREE.MeshBasicMaterial;
@@ -1,2 +1,2 @@
1
1
  import * as THREE from 'three';
2
- export default function getLineGeometry(positionList: THREE.Vector3[]): THREE.BufferGeometry;
2
+ export default function getLineGeometry(positionList: THREE.Vector3[]): void | THREE.BufferGeometry;
@@ -1,7 +1,6 @@
1
1
  import type { FivePlugin } from '@realsee/five';
2
2
  import CruisePluginController from './Controller';
3
- export * from './typing';
4
3
  export { CruisePluginController };
5
- declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
6
- export { CruisePlugin };
4
+ export declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
5
+ export type { CruisePluginExportType } from './typing';
7
6
  export default CruisePlugin;
@@ -2,7 +2,7 @@ import type { MovePanoOptions, Pose, State } from '@realsee/five';
2
2
  import type CruisePlugin from '.';
3
3
  import type * as BasePluginWithData from '../base/BasePluginWithData';
4
4
  declare type FivePoseAndState = Partial<Pose> & Partial<State>;
5
- declare type MoveEffect = MovePanoOptions['effect'];
5
+ export declare type MoveEffect = MovePanoOptions['effect'];
6
6
  export declare type CruiseData = {
7
7
  /** 移动/旋转 */
8
8
  effect: 'Move' | 'Rotate';
@@ -16,6 +16,8 @@ export declare type CruiseData = {
16
16
  export interface CruiseKeyframe {
17
17
  id: string;
18
18
  index: number;
19
+ moveIndex: number;
20
+ stay?: number;
19
21
  start?: number;
20
22
  end?: number;
21
23
  data: CruiseData;
@@ -39,13 +41,21 @@ export interface PluginServerData extends BasePluginWithData.ServerData {
39
41
  moveEffect?: undefined;
40
42
  /** for ts check, no care */
41
43
  moveType?: undefined;
44
+ /** for ts check, no care */
45
+ moveToFirstPanoEffect?: undefined;
46
+ /** for ts check, no care */
47
+ stay?: undefined;
42
48
  } | {
43
49
  /** 点位列表 */
44
50
  panoIndexList: number[];
45
51
  /** five走点动画 */
46
52
  moveEffect?: MoveEffect;
53
+ /** 到第一个点的走点动画 / 续播到暂停处的走点动画 */
54
+ moveToFirstPanoEffect?: MoveEffect;
47
55
  /** 漫游方式:justMove 为移动到指定点位,且朝向为下一个点的朝向;moveAndRotate 为先移动到指定点位且朝向不变,然后旋转到下一个点的朝向 */
48
56
  moveType?: 'justMove' | 'moveAndRotate';
57
+ /** 停留时长 */
58
+ stay?: number;
49
59
  /** for ts check, no care */
50
60
  keyframes?: undefined;
51
61
  };
@@ -0,0 +1 @@
1
+ export declare function sleep(duration: number): Promise<void>;
@@ -1,4 +1,4 @@
1
1
  import * as THREE from 'three';
2
2
  export declare function getArrowMaterial(params?: {
3
- textureUtl?: string;
3
+ textureUrl?: string;
4
4
  }): THREE.MeshBasicMaterial;
@@ -1,2 +1,2 @@
1
1
  import * as THREE from 'three';
2
- export default function getLineGeometry(positionList: THREE.Vector3[]): THREE.BufferGeometry;
2
+ export default function getLineGeometry(positionList: THREE.Vector3[]): void | THREE.BufferGeometry;
@@ -1,7 +1,6 @@
1
1
  import type { FivePlugin } from '@realsee/five';
2
2
  import CruisePluginController from './Controller';
3
- export * from './typing';
4
3
  export { CruisePluginController };
5
- declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
6
- export { CruisePlugin };
4
+ export declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
5
+ export type { CruisePluginExportType } from './typing';
7
6
  export default CruisePlugin;
@@ -2,7 +2,7 @@ import type { MovePanoOptions, Pose, State } from '@realsee/five';
2
2
  import type CruisePlugin from '.';
3
3
  import type * as BasePluginWithData from '../base/BasePluginWithData';
4
4
  declare type FivePoseAndState = Partial<Pose> & Partial<State>;
5
- declare type MoveEffect = MovePanoOptions['effect'];
5
+ export declare type MoveEffect = MovePanoOptions['effect'];
6
6
  export declare type CruiseData = {
7
7
  /** 移动/旋转 */
8
8
  effect: 'Move' | 'Rotate';
@@ -16,6 +16,8 @@ export declare type CruiseData = {
16
16
  export interface CruiseKeyframe {
17
17
  id: string;
18
18
  index: number;
19
+ moveIndex: number;
20
+ stay?: number;
19
21
  start?: number;
20
22
  end?: number;
21
23
  data: CruiseData;
@@ -39,13 +41,21 @@ export interface PluginServerData extends BasePluginWithData.ServerData {
39
41
  moveEffect?: undefined;
40
42
  /** for ts check, no care */
41
43
  moveType?: undefined;
44
+ /** for ts check, no care */
45
+ moveToFirstPanoEffect?: undefined;
46
+ /** for ts check, no care */
47
+ stay?: undefined;
42
48
  } | {
43
49
  /** 点位列表 */
44
50
  panoIndexList: number[];
45
51
  /** five走点动画 */
46
52
  moveEffect?: MoveEffect;
53
+ /** 到第一个点的走点动画 / 续播到暂停处的走点动画 */
54
+ moveToFirstPanoEffect?: MoveEffect;
47
55
  /** 漫游方式:justMove 为移动到指定点位,且朝向为下一个点的朝向;moveAndRotate 为先移动到指定点位且朝向不变,然后旋转到下一个点的朝向 */
48
56
  moveType?: 'justMove' | 'moveAndRotate';
57
+ /** 停留时长 */
58
+ stay?: number;
49
59
  /** for ts check, no care */
50
60
  keyframes?: undefined;
51
61
  };
@@ -0,0 +1 @@
1
+ export declare function sleep(duration: number): Promise<void>;
@@ -1,4 +1,4 @@
1
1
  import * as THREE from 'three';
2
2
  export declare function getArrowMaterial(params?: {
3
- textureUtl?: string;
3
+ textureUrl?: string;
4
4
  }): THREE.MeshBasicMaterial;
@@ -1,2 +1,2 @@
1
1
  import * as THREE from 'three';
2
- export default function getLineGeometry(positionList: THREE.Vector3[]): THREE.BufferGeometry;
2
+ export default function getLineGeometry(positionList: THREE.Vector3[]): void | THREE.BufferGeometry;
@@ -1,7 +1,6 @@
1
1
  import type { FivePlugin } from '@realsee/five';
2
2
  import CruisePluginController from './Controller';
3
- export * from './typing';
4
3
  export { CruisePluginController };
5
- declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
6
- export { CruisePlugin };
4
+ export declare const CruisePlugin: FivePlugin<void, InstanceType<typeof CruisePluginController>>;
5
+ export type { CruisePluginExportType } from './typing';
7
6
  export default CruisePlugin;