@realsee/five 5.0.0-alpha.71 → 5.0.0-alpha.75

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 (110) hide show
  1. package/docs/.nojekyll +1 -0
  2. package/docs/assets/highlight.css +134 -0
  3. package/docs/assets/icons.css +1043 -0
  4. package/docs/assets/{images/icons.png → icons.png} +0 -0
  5. package/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
  6. package/docs/assets/main.js +52 -0
  7. package/docs/assets/search.js +1 -0
  8. package/docs/assets/style.css +1388 -0
  9. package/docs/assets/{images/widgets.png → widgets.png} +0 -0
  10. package/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
  11. package/docs/classes/five.AnimationFrameLoop.html +22 -522
  12. package/docs/classes/five.BVH.html +10 -488
  13. package/docs/classes/five.BVHNode.html +8 -468
  14. package/docs/classes/five.BVHVector3.html +1 -525
  15. package/docs/classes/five.Camera.html +11 -323
  16. package/docs/classes/five.Five.html +269 -2938
  17. package/docs/classes/five.InternalWebGLRenderer.html +1 -212
  18. package/docs/classes/five.Model.html +76 -1011
  19. package/docs/classes/five.NetworkSubscribe.html +50 -564
  20. package/docs/classes/five.PBMContainer.html +17 -428
  21. package/docs/classes/five.PBMGroup.html +19 -430
  22. package/docs/classes/five.PBMMaterial.html +15 -367
  23. package/docs/classes/five.PBMMesh.html +7 -254
  24. package/docs/classes/five.Scene.html +3 -263
  25. package/docs/classes/five.Subscribe.html +55 -599
  26. package/docs/classes/five.Work.html +1 -348
  27. package/docs/classes/gltf_loader.GLTFLoader.html +16 -411
  28. package/docs/classes/gltf_loader.GLTFObject.html +7 -287
  29. package/docs/classes/line.Line.html +1 -384
  30. package/docs/classes/line.LineGeometry.html +1 -530
  31. package/docs/classes/line.LineMaterial.html +1 -306
  32. package/docs/classes/line.LineSegmentsGeometry.html +1 -477
  33. package/docs/classes/line.THREE_Line2.html +1 -280
  34. package/docs/classes/line.THREE_LineSegments2.html +1 -282
  35. package/docs/classes/react.Store.html +28 -621
  36. package/docs/classes/server.BVH.html +10 -587
  37. package/docs/classes/server.BVHNode.html +8 -567
  38. package/docs/classes/server.BVHVector3.html +1 -624
  39. package/docs/classes/server.Model.html +62 -840
  40. package/docs/classes/server.PBMGroup.html +9 -384
  41. package/docs/classes/server.PBMMesh.html +7 -353
  42. package/docs/classes/sticker.Sticker.html +31 -470
  43. package/docs/index.html +166 -458
  44. package/docs/interfaces/five.AddableObject.html +1 -234
  45. package/docs/interfaces/five.AnimationFrame.html +1 -243
  46. package/docs/interfaces/five.BVHIntersect.html +1 -204
  47. package/docs/interfaces/five.CameraPose.html +1 -232
  48. package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +28 -438
  49. package/docs/interfaces/five.EventCallback.html +370 -2644
  50. package/docs/interfaces/five.FiveInitArgs.html +93 -723
  51. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +15 -295
  52. package/docs/interfaces/five.ImageOptions.html +16 -277
  53. package/docs/interfaces/five.ImageURLOptions.html +1 -260
  54. package/docs/interfaces/five.IntersectMeshInterface.html +1 -188
  55. package/docs/interfaces/five.Intersection.html +7 -227
  56. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +20 -366
  57. package/docs/interfaces/five.ModelEventCallback.html +22 -367
  58. package/docs/interfaces/five.MovePanoOptions.html +39 -456
  59. package/docs/interfaces/five.PBMPanoPicture.html +7 -219
  60. package/docs/interfaces/five.PBMParameters.html +15 -303
  61. package/docs/interfaces/five.PanoCircleMeshInterface.html +5 -426
  62. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +28 -452
  63. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +20 -365
  64. package/docs/interfaces/five.Pose.html +35 -270
  65. package/docs/interfaces/five.Scissor.html +14 -252
  66. package/docs/interfaces/five.State.html +16 -297
  67. package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -180
  68. package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -171
  69. package/docs/interfaces/five.SubscribeMixinType.off.html +1 -198
  70. package/docs/interfaces/five.SubscribeMixinType.on.html +1 -213
  71. package/docs/interfaces/five.SubscribeMixinType.once.html +1 -210
  72. package/docs/interfaces/five.TextureOptions.html +18 -296
  73. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -226
  74. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +27 -439
  75. package/docs/interfaces/five.WorkCubeImage.html +1 -251
  76. package/docs/interfaces/five.WorkImage.html +3 -306
  77. package/docs/interfaces/five.WorkInitial.html +13 -273
  78. package/docs/interfaces/five.WorkModel.html +3 -239
  79. package/docs/interfaces/five.WorkObserver.html +3 -323
  80. package/docs/interfaces/five.WorkTile.html +1 -274
  81. package/docs/interfaces/five.WorkVideo.html +3 -211
  82. package/docs/interfaces/gltf_loader.GLTF.html +7 -304
  83. package/docs/interfaces/react.FiveActionReactCallbacks.html +61 -585
  84. package/docs/interfaces/react.FiveInjectionTypes.html +154 -1645
  85. package/docs/interfaces/react.PropTypeOfFiveFeatures.html +1 -286
  86. package/docs/interfaces/server.BVHIntersect.html +1 -303
  87. package/docs/interfaces/server.Intersection.html +7 -326
  88. package/docs/interfaces/server.ModelEventCallback.html +18 -427
  89. package/docs/interfaces/sticker.IntersectionLike.html +8 -223
  90. package/docs/modules/five.SubscribeMixinType.html +1 -143
  91. package/docs/modules/five.html +440 -3044
  92. package/docs/modules/gltf_loader.html +1 -155
  93. package/docs/modules/line.html +1 -210
  94. package/docs/modules/react.html +130 -1607
  95. package/docs/modules/server.html +18 -560
  96. package/docs/modules/sticker.html +1 -151
  97. package/docs/modules.html +1 -136
  98. package/five/index.d.ts +1 -3
  99. package/five/index.js +5 -5
  100. package/gltf-loader/index.js +2 -2
  101. package/line/index.js +2 -2
  102. package/package.json +1 -1
  103. package/react/index.js +2 -2
  104. package/server/index.d.ts +0 -3
  105. package/server/index.js +3 -3
  106. package/sticker/index.js +2 -2
  107. package/umd/five.js +1 -1
  108. package/docs/assets/css/main.css +0 -2660
  109. package/docs/assets/js/main.js +0 -248
  110. package/docs/assets/js/search.js +0 -1
@@ -1,3062 +1,458 @@
1
- <!doctype html>
2
- <html class="default no-js">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>five | 如视 Five SDK - v5.0.0-alpha.71</title>
7
- <meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.71">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="stylesheet" href="../assets/css/main.css">
10
- <script async src="../assets/js/search.js" id="search-script"></script>
11
- </head>
12
- <body>
13
- <header>
14
- <div class="tsd-page-toolbar">
15
- <div class="container">
16
- <div class="table-wrap">
17
- <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
18
- <div class="field">
19
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
20
- <input id="tsd-search-field" type="text" />
21
- </div>
22
- <ul class="results">
23
- <li class="state loading">Preparing search index...</li>
24
- <li class="state failure">The search index is not available</li>
25
- </ul>
26
- <a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.71</a>
27
- </div>
28
- <div class="table-cell" id="tsd-widgets">
29
- <div id="tsd-filter">
30
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
31
- <div class="tsd-filter-group">
32
- <div class="tsd-select" id="tsd-filter-visibility">
33
- <span class="tsd-select-label">All</span>
34
- <ul class="tsd-select-list">
35
- <li data-value="public">Public</li>
36
- <li data-value="protected">Public/Protected</li>
37
- <li data-value="private" class="selected">All</li>
38
- </ul>
39
- </div>
40
- <input type="checkbox" id="tsd-filter-inherited" checked />
41
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
42
- </div>
43
- </div>
44
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
45
- </div>
46
- </div>
47
- </div>
48
- </div>
49
- <div class="tsd-page-title">
50
- <div class="container">
51
- <ul class="tsd-breadcrumb">
52
- <li>
53
- <a href="../modules.html">如视 Five SDK - v5.0.0-alpha.71</a>
54
- </li>
55
- <li>
56
- <a href="five.html">five</a>
57
- </li>
58
- </ul>
59
- <h1>Module five</h1>
60
- </div>
61
- </div>
62
- </header>
63
- <div class="container container-main">
64
- <div class="row">
65
- <div class="col-8 col-content">
66
- <section class="tsd-panel-group tsd-index-group">
67
- <h2>Index</h2>
68
- <section class="tsd-panel tsd-index-panel">
69
- <div class="tsd-index-content">
70
- <section class="tsd-index-section ">
71
- <h3>Namespaces</h3>
72
- <ul class="tsd-index-list">
73
- <li class="tsd-kind-namespace tsd-parent-kind-module"><a href="five.SubscribeMixinType.html" class="tsd-kind-icon">Subscribe<wbr>Mixin<wbr>Type</a></li>
74
- </ul>
75
- </section>
76
- <section class="tsd-index-section ">
77
- <h3>Classes</h3>
78
- <ul class="tsd-index-list">
79
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.AnimationFrameLoop.html" class="tsd-kind-icon">Animation<wbr>Frame<wbr>Loop</a></li>
80
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVH.html" class="tsd-kind-icon">BVH</a></li>
81
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVHNode.html" class="tsd-kind-icon">BVHNode</a></li>
82
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVHVector3.html" class="tsd-kind-icon">BVHVector3</a></li>
83
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Camera.html" class="tsd-kind-icon">Camera</a></li>
84
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Five.html" class="tsd-kind-icon">Five</a></li>
85
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.InternalWebGLRenderer.html" class="tsd-kind-icon">Internal<wbr>WebGLRenderer</a></li>
86
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Model.html" class="tsd-kind-icon">Model</a></li>
87
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.NetworkSubscribe.html" class="tsd-kind-icon">Network<wbr>Subscribe</a></li>
88
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMContainer.html" class="tsd-kind-icon">PBMContainer</a></li>
89
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMGroup.html" class="tsd-kind-icon">PBMGroup</a></li>
90
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMMaterial.html" class="tsd-kind-icon">PBMMaterial</a></li>
91
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMMesh.html" class="tsd-kind-icon">PBMMesh</a></li>
92
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Scene.html" class="tsd-kind-icon">Scene</a></li>
93
- <li class="tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter"><a href="../classes/five.Subscribe.html" class="tsd-kind-icon">Subscribe</a></li>
94
- <li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Work.html" class="tsd-kind-icon">Work</a></li>
95
- </ul>
96
- </section>
97
- <section class="tsd-index-section ">
98
- <h3>Interfaces</h3>
99
- <ul class="tsd-index-list">
100
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.AddableObject.html" class="tsd-kind-icon">Addable<wbr>Object</a></li>
101
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.AnimationFrame.html" class="tsd-kind-icon">Animation<wbr>Frame</a></li>
102
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.BVHIntersect.html" class="tsd-kind-icon">BVHIntersect</a></li>
103
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.CameraPose.html" class="tsd-kind-icon">Camera<wbr>Pose</a></li>
104
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Depth<wbr>Panorama<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
105
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.EventCallback.html" class="tsd-kind-icon">Event<wbr>Callback</a></li>
106
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.FiveInitArgs.html" class="tsd-kind-icon">Five<wbr>Init<wbr>Args</a></li>
107
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-kind-icon">Floorplan<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
108
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ImageOptions.html" class="tsd-kind-icon">Image<wbr>Options</a></li>
109
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ImageURLOptions.html" class="tsd-kind-icon">ImageURLOptions</a></li>
110
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-kind-icon">Intersect<wbr>Mesh<wbr>Interface</a></li>
111
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Intersection.html" class="tsd-kind-icon">Intersection</a></li>
112
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-kind-icon">Model<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
113
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ModelEventCallback.html" class="tsd-kind-icon">Model<wbr>Event<wbr>Callback</a></li>
114
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.MovePanoOptions.html" class="tsd-kind-icon">Move<wbr>Pano<wbr>Options</a></li>
115
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PBMPanoPicture.html" class="tsd-kind-icon">PBMPano<wbr>Picture</a></li>
116
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PBMParameters.html" class="tsd-kind-icon">PBMParameters</a></li>
117
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoCircleMeshInterface.html" class="tsd-kind-icon">Pano<wbr>Circle<wbr>Mesh<wbr>Interface</a></li>
118
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
119
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoramaLikeControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr>Like<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
120
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Pose.html" class="tsd-kind-icon">Pose</a></li>
121
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Scissor.html" class="tsd-kind-icon">Scissor</a></li>
122
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.State.html" class="tsd-kind-icon">State</a></li>
123
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.TextureOptions.html" class="tsd-kind-icon">Texture<wbr>Options</a></li>
124
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-kind-icon">Topview<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
125
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">VRPanorama<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a></li>
126
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkCubeImage.html" class="tsd-kind-icon">Work<wbr>Cube<wbr>Image</a></li>
127
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkImage.html" class="tsd-kind-icon">Work<wbr>Image</a></li>
128
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkInitial.html" class="tsd-kind-icon">Work<wbr>Initial</a></li>
129
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkModel.html" class="tsd-kind-icon">Work<wbr>Model</a></li>
130
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkObserver.html" class="tsd-kind-icon">Work<wbr>Observer</a></li>
131
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkTile.html" class="tsd-kind-icon">Work<wbr>Tile</a></li>
132
- <li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkVideo.html" class="tsd-kind-icon">Work<wbr>Video</a></li>
133
- </ul>
134
- </section>
135
- <section class="tsd-index-section ">
136
- <h3>Type aliases</h3>
137
- <ul class="tsd-index-list">
138
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ControllerCustomInitTypes" class="tsd-kind-icon">Controller<wbr>Custom<wbr>Init<wbr>Types</a></li>
139
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ControllerEventTypes" class="tsd-kind-icon">Controller<wbr>Event<wbr>Types</a></li>
140
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#EventTypes" class="tsd-kind-icon">Event<wbr>Types</a></li>
141
- <li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePlugin" class="tsd-kind-icon">Five<wbr>Plugin</a></li>
142
- <li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePluginInit" class="tsd-kind-icon">Five<wbr>Plugin<wbr>Init</a></li>
143
- <li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePluginInstance" class="tsd-kind-icon">Five<wbr>Plugin<wbr>Instance</a></li>
144
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#GestureTypes" class="tsd-kind-icon">Gesture<wbr>Types</a></li>
145
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWork" class="tsd-kind-icon">Loose<wbr>Work</a></li>
146
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkInitial" class="tsd-kind-icon">Loose<wbr>Work<wbr>Initial</a></li>
147
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkModel" class="tsd-kind-icon">Loose<wbr>Work<wbr>Model</a></li>
148
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkObserver" class="tsd-kind-icon">Loose<wbr>Work<wbr>Observer</a></li>
149
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkPanorama" class="tsd-kind-icon">Loose<wbr>Work<wbr>Panorama</a></li>
150
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkVideo" class="tsd-kind-icon">Loose<wbr>Work<wbr>Video</a></li>
151
- <li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#Mirror" class="tsd-kind-icon">Mirror</a></li>
152
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#Mode" class="tsd-kind-icon">Mode</a></li>
153
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ModelEventType" class="tsd-kind-icon">Model<wbr>Event<wbr>Type</a></li>
154
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetWorkMeta" class="tsd-kind-icon">Net<wbr>Work<wbr>Meta</a></li>
155
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetworkState" class="tsd-kind-icon">Network<wbr>State</a></li>
156
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetworkType" class="tsd-kind-icon">Network<wbr>Type</a></li>
157
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ParseWorkOptions" class="tsd-kind-icon">Parse<wbr>Work<wbr>Options</a></li>
158
- <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#SubscribeEventMap" class="tsd-kind-icon">Subscribe<wbr>Event<wbr>Map</a></li>
159
- </ul>
160
- </section>
161
- <section class="tsd-index-section ">
162
- <h3>Variables</h3>
163
- <ul class="tsd-index-list">
164
- <li class="tsd-kind-variable tsd-parent-kind-module"><a href="five.html#PROXY_CONTROLLER_EVENT_NAMES" class="tsd-kind-icon">PROXY_<wbr>CONTROLLER_<wbr>EVENT_<wbr>NAMES</a></li>
165
- </ul>
166
- </section>
167
- <section class="tsd-index-section ">
168
- <h3>Functions</h3>
169
- <ul class="tsd-index-list">
170
- <li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#defaultImageURLTransform" class="tsd-kind-icon">default<wbr>ImageURLTransform</a></li>
171
- <li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#getViewportScale" class="tsd-kind-icon">get<wbr>Viewport<wbr>Scale</a></li>
172
- <li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#parseWork" class="tsd-kind-icon">parse<wbr>Work</a></li>
173
- </ul>
174
- </section>
175
- </div>
176
- </section>
177
- </section>
178
- <section class="tsd-panel-group tsd-member-group ">
179
- <h2>Type aliases</h2>
180
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
181
- <a name="ControllerCustomInitTypes" class="tsd-anchor"></a>
182
- <h3>Controller<wbr>Custom<wbr>Init<wbr>Types</h3>
183
- <div class="tsd-signature tsd-kind-icon">Controller<wbr>Custom<wbr>Init<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>DepthPanorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">DepthPanoramaControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Floorplan<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FloorplanControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Model<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">ModelControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Panorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">PanoramaControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Topview<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">TopviewControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>VRPanorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">VRPanoramaControllerCustomInitArgs</a><span class="tsd-signature-symbol"> }</span></div>
184
- <aside class="tsd-sources">
185
- <ul>
186
- <li>Defined in lib/five/application/controllers.ts:22</li>
187
- </ul>
188
- </aside>
189
- <div class="tsd-type-declaration">
190
- <h4>Type declaration</h4>
191
- <ul class="tsd-parameters">
192
- <li class="tsd-parameter">
193
- <h5>Depth<wbr>Panorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">DepthPanoramaControllerCustomInitArgs</a></h5>
194
- </li>
195
- <li class="tsd-parameter">
196
- <h5>Floorplan<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FloorplanControllerCustomInitArgs</a></h5>
197
- </li>
198
- <li class="tsd-parameter">
199
- <h5>Model<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">ModelControllerCustomInitArgs</a></h5>
200
- </li>
201
- <li class="tsd-parameter">
202
- <h5>Panorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">PanoramaControllerCustomInitArgs</a></h5>
203
- </li>
204
- <li class="tsd-parameter">
205
- <h5>Topview<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">TopviewControllerCustomInitArgs</a></h5>
206
- </li>
207
- <li class="tsd-parameter">
208
- <h5>VRPanorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">VRPanoramaControllerCustomInitArgs</a></h5>
209
- </li>
210
- </ul>
211
- </div>
212
- </section>
213
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
214
- <a name="ControllerEventTypes" class="tsd-anchor"></a>
215
- <h3>Controller<wbr>Event<wbr>Types</h3>
216
- <div class="tsd-signature tsd-kind-icon">Controller<wbr>Event<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>cameraDirectionUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>cameraFovUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>cameraPositionUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>cameraUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>gesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>initAnimationEnded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>initAnimationWillStart<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>interiaPan<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>intersectionHidden<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>intersectionOnModelUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>mouseWheel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>moveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>moveToPanoCanceled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>movingToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoArrived<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoLoadError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoSelected<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoWillArrive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoWillLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>pinchGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>tapGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureAbort<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureLoading<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureStartLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>vrWantsToExit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsChangeCameraFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsInteriaPan<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsMouseWheel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsMoveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsPanGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsPinchGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsShowIntersectionOnModel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsTapGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div>
217
- <aside class="tsd-sources">
218
- <ul>
219
- <li>Defined in lib/five/controllers/events.ts:11</li>
220
- </ul>
221
- </aside>
222
- <div class="tsd-type-declaration">
223
- <h4>Type declaration</h4>
224
- <ul class="tsd-parameters">
225
- <li class="tsd-parameter">
226
- <h5>camera<wbr>Direction<wbr>Update<span class="tsd-signature-symbol">: </span>function</h5>
227
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
228
- <li class="tsd-signature tsd-kind-icon">camera<wbr>Direction<wbr>Update<span class="tsd-signature-symbol">(</span>coordinates<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;longitude&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;latitude&quot;</span><span class="tsd-signature-symbol">&gt;</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
229
- </ul>
230
- <ul class="tsd-descriptions">
231
- <li class="tsd-description">
232
- <aside class="tsd-sources">
233
- <ul>
234
- <li>Defined in lib/five/controllers/events.ts:64</li>
235
- </ul>
236
- </aside>
237
- <div class="tsd-comment tsd-typography">
238
- <div class="lead">
239
- <p>相机姿态中相机方向变化</p>
240
- </div>
241
- </div>
242
- <h4 class="tsd-parameters-title">Parameters</h4>
243
- <ul class="tsd-parameters">
244
- <li>
245
- <h5>coordinates: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;longitude&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;latitude&quot;</span><span class="tsd-signature-symbol">&gt;</span></h5>
246
- <div class="tsd-comment tsd-typography">
247
- <p>相机姿态的俯仰角和偏航角</p>
248
- </div>
249
- </li>
250
- <li>
251
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
252
- <div class="tsd-comment tsd-typography">
253
- <p>是否用户触发</p>
254
- </div>
255
- </li>
256
- </ul>
257
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
258
- </li>
259
- </ul>
260
- </li>
261
- <li class="tsd-parameter">
262
- <h5>camera<wbr>Fov<wbr>Update<span class="tsd-signature-symbol">: </span>function</h5>
263
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
264
- <li class="tsd-signature tsd-kind-icon">camera<wbr>Fov<wbr>Update<span class="tsd-signature-symbol">(</span>fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
265
- </ul>
266
- <ul class="tsd-descriptions">
267
- <li class="tsd-description">
268
- <aside class="tsd-sources">
269
- <ul>
270
- <li>Defined in lib/five/controllers/events.ts:50</li>
271
- </ul>
272
- </aside>
273
- <div class="tsd-comment tsd-typography">
274
- <div class="lead">
275
- <p>相机姿态中可视角度变化</p>
276
- </div>
277
- </div>
278
- <h4 class="tsd-parameters-title">Parameters</h4>
279
- <ul class="tsd-parameters">
280
- <li>
281
- <h5>fov: <span class="tsd-signature-type">number</span></h5>
282
- <div class="tsd-comment tsd-typography">
283
- <p>相机的可视角度</p>
284
- </div>
285
- </li>
286
- <li>
287
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
288
- <div class="tsd-comment tsd-typography">
289
- <p>是否用户触发</p>
290
- </div>
291
- </li>
292
- </ul>
293
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
294
- </li>
295
- </ul>
296
- </li>
297
- <li class="tsd-parameter">
298
- <h5>camera<wbr>Position<wbr>Update<span class="tsd-signature-symbol">: </span>function</h5>
299
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
300
- <li class="tsd-signature tsd-kind-icon">camera<wbr>Position<wbr>Update<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
301
- </ul>
302
- <ul class="tsd-descriptions">
303
- <li class="tsd-description">
304
- <aside class="tsd-sources">
305
- <ul>
306
- <li>Defined in lib/five/controllers/events.ts:57</li>
307
- </ul>
308
- </aside>
309
- <div class="tsd-comment tsd-typography">
310
- <div class="lead">
311
- <p>相机姿态中相机位置变化</p>
312
- </div>
313
- </div>
314
- <h4 class="tsd-parameters-title">Parameters</h4>
315
- <ul class="tsd-parameters">
316
- <li>
317
- <h5>offset: <span class="tsd-signature-type">Vector3</span></h5>
318
- <div class="tsd-comment tsd-typography">
319
- <p>相机位置</p>
320
- </div>
321
- </li>
322
- <li>
323
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
324
- <div class="tsd-comment tsd-typography">
325
- <p>是否用户触发</p>
326
- </div>
327
- </li>
328
- </ul>
329
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
330
- </li>
331
- </ul>
332
- </li>
333
- <li class="tsd-parameter">
334
- <h5>camera<wbr>Update<span class="tsd-signature-symbol">: </span>function</h5>
335
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
336
- <li class="tsd-signature tsd-kind-icon">camera<wbr>Update<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
337
- </ul>
338
- <ul class="tsd-descriptions">
339
- <li class="tsd-description">
340
- <aside class="tsd-sources">
341
- <ul>
342
- <li>Defined in lib/five/controllers/events.ts:43</li>
343
- </ul>
344
- </aside>
345
- <div class="tsd-comment tsd-typography">
346
- <div class="lead">
347
- <p>相机姿态变化</p>
348
- </div>
349
- </div>
350
- <h4 class="tsd-parameters-title">Parameters</h4>
351
- <ul class="tsd-parameters">
352
- <li>
353
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
354
- <div class="tsd-comment tsd-typography">
355
- <p>相机姿态</p>
356
- </div>
357
- </li>
358
- <li>
359
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
360
- <div class="tsd-comment tsd-typography">
361
- <p>是否用户触发</p>
362
- </div>
363
- </li>
364
- </ul>
365
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
366
- </li>
367
- </ul>
368
- </li>
369
- <li class="tsd-parameter">
370
- <h5>error<span class="tsd-signature-symbol">: </span>function</h5>
371
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
372
- <li class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
373
- </ul>
374
- <ul class="tsd-descriptions">
375
- <li class="tsd-description">
376
- <aside class="tsd-sources">
377
- <ul>
378
- <li>Defined in lib/five/controllers/events.ts:309</li>
379
- </ul>
380
- </aside>
381
- <div class="tsd-comment tsd-typography">
382
- <div class="lead">
383
- <p>抛出错误</p>
384
- </div>
385
- </div>
386
- <h4 class="tsd-parameters-title">Parameters</h4>
387
- <ul class="tsd-parameters">
388
- <li>
389
- <h5>error: <span class="tsd-signature-type">Error</span></h5>
390
- <div class="tsd-comment tsd-typography">
391
- <p>抛出错误</p>
392
- </div>
393
- </li>
394
- </ul>
395
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
396
- </li>
397
- </ul>
398
- </li>
399
- <li class="tsd-parameter">
400
- <h5>gesture<span class="tsd-signature-symbol">: </span>function</h5>
401
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
402
- <li class="tsd-signature tsd-kind-icon">gesture<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a>, pointers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
403
- </ul>
404
- <ul class="tsd-descriptions">
405
- <li class="tsd-description">
406
- <aside class="tsd-sources">
407
- <ul>
408
- <li>Defined in lib/five/controllers/events.ts:167</li>
409
- </ul>
410
- </aside>
411
- <div class="tsd-comment tsd-typography">
412
- <div class="lead">
413
- <p>手势 触发</p>
414
- </div>
415
- </div>
416
- <h4 class="tsd-parameters-title">Parameters</h4>
417
- <ul class="tsd-parameters">
418
- <li>
419
- <h5>type: <a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a></h5>
420
- <div class="tsd-comment tsd-typography">
421
- <p>手势类型</p>
422
- </div>
423
- </li>
424
- <li>
425
- <h5>pointers: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
426
- <div class="tsd-comment tsd-typography">
427
- <p>手指位置</p>
428
- </div>
429
- </li>
430
- <li>
431
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
432
- <div class="tsd-comment tsd-typography">
433
- <p>是否手势结束</p>
434
- </div>
435
- </li>
436
- </ul>
437
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
438
- </li>
439
- </ul>
440
- </li>
441
- <li class="tsd-parameter">
442
- <h5>init<wbr>Animation<wbr>Ended<span class="tsd-signature-symbol">: </span>function</h5>
443
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
444
- <li class="tsd-signature tsd-kind-icon">init<wbr>Animation<wbr>Ended<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
445
- </ul>
446
- <ul class="tsd-descriptions">
447
- <li class="tsd-description">
448
- <aside class="tsd-sources">
449
- <ul>
450
- <li>Defined in lib/five/controllers/events.ts:27</li>
451
- </ul>
452
- </aside>
453
- <div class="tsd-comment tsd-typography">
454
- <div class="lead">
455
- <p>模态间切换动画结束</p>
456
- </div>
457
- </div>
458
- <h4 class="tsd-parameters-title">Parameters</h4>
459
- <ul class="tsd-parameters">
460
- <li>
461
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
462
- <div class="tsd-comment tsd-typography">
463
- <p>当前点位</p>
464
- </div>
465
- </li>
466
- <li>
467
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
468
- <div class="tsd-comment tsd-typography">
469
- <p>相机姿态</p>
470
- </div>
471
- </li>
472
- <li>
473
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
474
- <div class="tsd-comment tsd-typography">
475
- <p>是否用户触发</p>
476
- </div>
477
- </li>
478
- </ul>
479
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
480
- </li>
481
- </ul>
482
- </li>
483
- <li class="tsd-parameter">
484
- <h5>init<wbr>Animation<wbr>Will<wbr>Start<span class="tsd-signature-symbol">: </span>function</h5>
485
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
486
- <li class="tsd-signature tsd-kind-icon">init<wbr>Animation<wbr>Will<wbr>Start<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
487
- </ul>
488
- <ul class="tsd-descriptions">
489
- <li class="tsd-description">
490
- <aside class="tsd-sources">
491
- <ul>
492
- <li>Defined in lib/five/controllers/events.ts:19</li>
493
- </ul>
494
- </aside>
495
- <div class="tsd-comment tsd-typography">
496
- <div class="lead">
497
- <p>模态间切换动画开始</p>
498
- </div>
499
- </div>
500
- <h4 class="tsd-parameters-title">Parameters</h4>
501
- <ul class="tsd-parameters">
502
- <li>
503
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
504
- <div class="tsd-comment tsd-typography">
505
- <p>当前点位</p>
506
- </div>
507
- </li>
508
- <li>
509
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
510
- <div class="tsd-comment tsd-typography">
511
- <p>相机姿态</p>
512
- </div>
513
- </li>
514
- <li>
515
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
516
- <div class="tsd-comment tsd-typography">
517
- <p>是否用户触发</p>
518
- </div>
519
- </li>
520
- </ul>
521
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
522
- </li>
523
- </ul>
524
- </li>
525
- <li class="tsd-parameter">
526
- <h5>interia<wbr>Pan<span class="tsd-signature-symbol">: </span>function</h5>
527
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
528
- <li class="tsd-signature tsd-kind-icon">interia<wbr>Pan<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
529
- </ul>
530
- <ul class="tsd-descriptions">
531
- <li class="tsd-description">
532
- <aside class="tsd-sources">
533
- <ul>
534
- <li>Defined in lib/five/controllers/events.ts:197</li>
535
- </ul>
536
- </aside>
537
- <div class="tsd-comment tsd-typography">
538
- <div class="lead">
539
- <p>pan 手势(滑动屏幕) 的惯性运动</p>
540
- </div>
541
- </div>
542
- <h4 class="tsd-parameters-title">Parameters</h4>
543
- <ul class="tsd-parameters">
544
- <li>
545
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
546
- <div class="tsd-comment tsd-typography">
547
- <p>意图的相机姿态</p>
548
- </div>
549
- </li>
550
- <li>
551
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
552
- <div class="tsd-comment tsd-typography">
553
- <p>是否手势结束</p>
554
- </div>
555
- </li>
556
- </ul>
557
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
558
- </li>
559
- </ul>
560
- </li>
561
- <li class="tsd-parameter">
562
- <h5>intersection<wbr>Hidden<span class="tsd-signature-symbol">: </span>function</h5>
563
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
564
- <li class="tsd-signature tsd-kind-icon">intersection<wbr>Hidden<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
565
- </ul>
566
- <ul class="tsd-descriptions">
567
- <li class="tsd-description">
568
- <aside class="tsd-sources">
569
- <ul>
570
- <li>Defined in lib/five/controllers/events.ts:263</li>
571
- </ul>
572
- </aside>
573
- <div class="tsd-comment tsd-typography">
574
- <div class="lead">
575
- <p>鼠标焦点环被隐藏</p>
576
- </div>
577
- </div>
578
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
579
- </li>
580
- </ul>
581
- </li>
582
- <li class="tsd-parameter">
583
- <h5>intersection<wbr>OnModel<wbr>Update<span class="tsd-signature-symbol">: </span>function</h5>
584
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
585
- <li class="tsd-signature tsd-kind-icon">intersection<wbr>OnModel<wbr>Update<span class="tsd-signature-symbol">(</span>intersection<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a>, mesh<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">IntersectMeshInterface</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
586
- </ul>
587
- <ul class="tsd-descriptions">
588
- <li class="tsd-description">
589
- <aside class="tsd-sources">
590
- <ul>
591
- <li>Defined in lib/five/controllers/events.ts:253</li>
592
- </ul>
593
- </aside>
594
- <div class="tsd-comment tsd-typography">
595
- <div class="lead">
596
- <p>鼠标焦点环位置被重新计算</p>
597
- </div>
598
- </div>
599
- <h4 class="tsd-parameters-title">Parameters</h4>
600
- <ul class="tsd-parameters">
601
- <li>
602
- <h5>intersection: <a href="../interfaces/five.Intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a></h5>
603
- <div class="tsd-comment tsd-typography">
604
- <p>焦点碰撞结果</p>
605
- </div>
606
- </li>
607
- <li>
608
- <h5>mesh: <a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">IntersectMeshInterface</a></h5>
609
- <div class="tsd-comment tsd-typography">
610
- <p>焦点环 mesh</p>
611
- </div>
612
- </li>
613
- </ul>
614
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
615
- </li>
616
- </ul>
617
- </li>
618
- <li class="tsd-parameter">
619
- <h5>mouse<wbr>Wheel<span class="tsd-signature-symbol">: </span>function</h5>
620
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
621
- <li class="tsd-signature tsd-kind-icon">mouse<wbr>Wheel<span class="tsd-signature-symbol">(</span>delta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
622
- </ul>
623
- <ul class="tsd-descriptions">
624
- <li class="tsd-description">
625
- <aside class="tsd-sources">
626
- <ul>
627
- <li>Defined in lib/five/controllers/events.ts:246</li>
628
- </ul>
629
- </aside>
630
- <div class="tsd-comment tsd-typography">
631
- <div class="lead">
632
- <p>鼠标滚轮被触发</p>
633
- </div>
634
- </div>
635
- <h4 class="tsd-parameters-title">Parameters</h4>
636
- <ul class="tsd-parameters">
637
- <li>
638
- <h5>delta: <span class="tsd-signature-type">number</span></h5>
639
- <div class="tsd-comment tsd-typography">
640
- <p>滚轮数值</p>
641
- </div>
642
- </li>
643
- <li>
644
- <h5>fov: <span class="tsd-signature-type">number</span></h5>
645
- </li>
646
- <li>
647
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
648
- <div class="tsd-comment tsd-typography">
649
- <p>是否手势结束</p>
650
- </div>
651
- </li>
652
- </ul>
653
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
654
- </li>
655
- </ul>
656
- </li>
657
- <li class="tsd-parameter">
658
- <h5>move<wbr>ToPano<span class="tsd-signature-symbol">: </span>function</h5>
659
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
660
- <li class="tsd-signature tsd-kind-icon">move<wbr>ToPano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
661
- </ul>
662
- <ul class="tsd-descriptions">
663
- <li class="tsd-description">
664
- <aside class="tsd-sources">
665
- <ul>
666
- <li>Defined in lib/five/controllers/events.ts:90</li>
667
- </ul>
668
- </aside>
669
- <div class="tsd-comment tsd-typography">
670
- <div class="lead">
671
- <p>开始加载并移动到某个观察点位</p>
672
- </div>
673
- <dl class="tsd-comment-tags">
674
- <dt>description</dt>
675
- <dd><p>可 panoWillArrive 相比</p>
676
- <ul>
677
- <li>moveToPano 在加载全景图资源前触发</li>
678
- <li>panoWillArrive 在加载全景图资源后触发</li>
679
- </ul>
680
- </dd>
681
- </dl>
682
- </div>
683
- <h4 class="tsd-parameters-title">Parameters</h4>
684
- <ul class="tsd-parameters">
685
- <li>
686
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
687
- <div class="tsd-comment tsd-typography">
688
- <p>移动到的点位下标</p>
689
- </div>
690
- </li>
691
- <li>
692
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
693
- <div class="tsd-comment tsd-typography">
694
- <p>是否用户触发</p>
695
- </div>
696
- </li>
697
- </ul>
698
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
699
- </li>
700
- </ul>
701
- </li>
702
- <li class="tsd-parameter">
703
- <h5>move<wbr>ToPano<wbr>Canceled<span class="tsd-signature-symbol">: </span>function</h5>
704
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
705
- <li class="tsd-signature tsd-kind-icon">move<wbr>ToPano<wbr>Canceled<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
706
- </ul>
707
- <ul class="tsd-descriptions">
708
- <li class="tsd-description">
709
- <aside class="tsd-sources">
710
- <ul>
711
- <li>Defined in lib/five/controllers/events.ts:121</li>
712
- </ul>
713
- </aside>
714
- <div class="tsd-comment tsd-typography">
715
- <div class="lead">
716
- <p>移动到某个观察点位被取消</p>
717
- </div>
718
- <dl class="tsd-comment-tags">
719
- <dt>description</dt>
720
- <dd><p>这个有一些情况会导致</p>
721
- <ul>
722
- <li>移动过程中切换模态</li>
723
- <li>移动过程中 five 被析构</li>
724
- <li>移动过程点击切换到另一个点位</li>
725
- </ul>
726
- </dd>
727
- </dl>
728
- </div>
729
- <h4 class="tsd-parameters-title">Parameters</h4>
730
- <ul class="tsd-parameters">
731
- <li>
732
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
733
- <div class="tsd-comment tsd-typography">
734
- <p>对应的点位下标</p>
735
- </div>
736
- </li>
737
- </ul>
738
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
739
- </li>
740
- </ul>
741
- </li>
742
- <li class="tsd-parameter">
743
- <h5>moving<wbr>ToPano<span class="tsd-signature-symbol">: </span>function</h5>
744
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
745
- <li class="tsd-signature tsd-kind-icon">moving<wbr>ToPano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, prevPanoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, progress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
746
- </ul>
747
- <ul class="tsd-descriptions">
748
- <li class="tsd-description">
749
- <aside class="tsd-sources">
750
- <ul>
751
- <li>Defined in lib/five/controllers/events.ts:149</li>
752
- </ul>
753
- </aside>
754
- <div class="tsd-comment tsd-typography">
755
- <div class="lead">
756
- <p>移动中, 会告知移动状态(耗时百分比)</p>
757
- </div>
758
- </div>
759
- <h4 class="tsd-parameters-title">Parameters</h4>
760
- <ul class="tsd-parameters">
761
- <li>
762
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
763
- <div class="tsd-comment tsd-typography">
764
- <p>将要移动到的点位下标</p>
765
- </div>
766
- </li>
767
- <li>
768
- <h5>prevPanoIndex: <span class="tsd-signature-type">number</span></h5>
769
- <div class="tsd-comment tsd-typography">
770
- <p>上一个点位下标</p>
771
- </div>
772
- </li>
773
- <li>
774
- <h5>progress: <span class="tsd-signature-type">number</span></h5>
775
- <div class="tsd-comment tsd-typography">
776
- <p>整个过程经度 [0-1]</p>
777
- </div>
778
- </li>
779
- </ul>
780
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
781
- </li>
782
- </ul>
783
- </li>
784
- <li class="tsd-parameter">
785
- <h5>pan<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
786
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
787
- <li class="tsd-signature tsd-kind-icon">pan<wbr>Gesture<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
788
- </ul>
789
- <ul class="tsd-descriptions">
790
- <li class="tsd-description">
791
- <aside class="tsd-sources">
792
- <ul>
793
- <li>Defined in lib/five/controllers/events.ts:182</li>
794
- </ul>
795
- </aside>
796
- <div class="tsd-comment tsd-typography">
797
- <div class="lead">
798
- <p>pan 手势(滑动屏幕) 被触发</p>
799
- </div>
800
- </div>
801
- <h4 class="tsd-parameters-title">Parameters</h4>
802
- <ul class="tsd-parameters">
803
- <li>
804
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
805
- <div class="tsd-comment tsd-typography">
806
- <p>相机姿态</p>
807
- </div>
808
- </li>
809
- <li>
810
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
811
- <div class="tsd-comment tsd-typography">
812
- <p>是否手势结束</p>
813
- </div>
814
- </li>
815
- </ul>
816
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
817
- </li>
818
- </ul>
819
- </li>
820
- <li class="tsd-parameter">
821
- <h5>pano<wbr>Arrived<span class="tsd-signature-symbol">: </span>function</h5>
822
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
823
- <li class="tsd-signature tsd-kind-icon">pano<wbr>Arrived<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
824
- </ul>
825
- <ul class="tsd-descriptions">
826
- <li class="tsd-description">
827
- <aside class="tsd-sources">
828
- <ul>
829
- <li>Defined in lib/five/controllers/events.ts:141</li>
830
- </ul>
831
- </aside>
832
- <div class="tsd-comment tsd-typography">
833
- <div class="lead">
834
- <p>移动到某个观察点位</p>
835
- </div>
836
- </div>
837
- <h4 class="tsd-parameters-title">Parameters</h4>
838
- <ul class="tsd-parameters">
839
- <li>
840
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
841
- <div class="tsd-comment tsd-typography">
842
- <p>移动到点位下标</p>
843
- </div>
844
- </li>
845
- <li>
846
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
847
- <div class="tsd-comment tsd-typography">
848
- <p>相机姿态</p>
849
- </div>
850
- </li>
851
- <li>
852
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
853
- <div class="tsd-comment tsd-typography">
854
- <p>是否用户触发</p>
855
- </div>
856
- </li>
857
- </ul>
858
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
859
- </li>
860
- </ul>
861
- </li>
862
- <li class="tsd-parameter">
863
- <h5>pano<wbr>Load<wbr>Error<span class="tsd-signature-symbol">: </span>function</h5>
864
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
865
- <li class="tsd-signature tsd-kind-icon">pano<wbr>Load<wbr>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
866
- </ul>
867
- <ul class="tsd-descriptions">
868
- <li class="tsd-description">
869
- <aside class="tsd-sources">
870
- <ul>
871
- <li>Defined in lib/five/controllers/events.ts:110</li>
872
- </ul>
873
- </aside>
874
- <div class="tsd-comment tsd-typography">
875
- <div class="lead">
876
- <p>某个观察点的全景资源加载失败</p>
877
- </div>
878
- </div>
879
- <h4 class="tsd-parameters-title">Parameters</h4>
880
- <ul class="tsd-parameters">
881
- <li>
882
- <h5>error: <span class="tsd-signature-type">Error</span></h5>
883
- <div class="tsd-comment tsd-typography">
884
- <p>错误对象</p>
885
- </div>
886
- </li>
887
- <li>
888
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
889
- <div class="tsd-comment tsd-typography">
890
- <p>对应的点位下标</p>
891
- </div>
892
- </li>
893
- </ul>
894
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
895
- </li>
896
- </ul>
897
- </li>
898
- <li class="tsd-parameter">
899
- <h5>pano<wbr>Loaded<span class="tsd-signature-symbol">: </span>function</h5>
900
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
901
- <li class="tsd-signature tsd-kind-icon">pano<wbr>Loaded<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
902
- </ul>
903
- <ul class="tsd-descriptions">
904
- <li class="tsd-description">
905
- <aside class="tsd-sources">
906
- <ul>
907
- <li>Defined in lib/five/controllers/events.ts:102</li>
908
- </ul>
909
- </aside>
910
- <div class="tsd-comment tsd-typography">
911
- <div class="lead">
912
- <p>某个观察点的全景资源加载完成</p>
913
- </div>
914
- </div>
915
- <h4 class="tsd-parameters-title">Parameters</h4>
916
- <ul class="tsd-parameters">
917
- <li>
918
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
919
- <div class="tsd-comment tsd-typography">
920
- <p>对应的点位下标</p>
921
- </div>
922
- </li>
923
- </ul>
924
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
925
- </li>
926
- </ul>
927
- </li>
928
- <li class="tsd-parameter">
929
- <h5>pano<wbr>Selected<span class="tsd-signature-symbol">: </span>function</h5>
930
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
931
- <li class="tsd-signature tsd-kind-icon">pano<wbr>Selected<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
932
- </ul>
933
- <ul class="tsd-descriptions">
934
- <li class="tsd-description">
935
- <aside class="tsd-sources">
936
- <ul>
937
- <li>Defined in lib/five/controllers/events.ts:70</li>
938
- </ul>
939
- </aside>
940
- <div class="tsd-comment tsd-typography">
941
- <div class="lead">
942
- <p>观察点位被选择</p>
943
- </div>
944
- </div>
945
- <h4 class="tsd-parameters-title">Parameters</h4>
946
- <ul class="tsd-parameters">
947
- <li>
948
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
949
- <div class="tsd-comment tsd-typography">
950
- <p>选择的点位</p>
951
- </div>
952
- </li>
953
- </ul>
954
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
955
- </li>
956
- </ul>
957
- </li>
958
- <li class="tsd-parameter">
959
- <h5>pano<wbr>Will<wbr>Arrive<span class="tsd-signature-symbol">: </span>function</h5>
960
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
961
- <li class="tsd-signature tsd-kind-icon">pano<wbr>Will<wbr>Arrive<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
962
- </ul>
963
- <ul class="tsd-descriptions">
964
- <li class="tsd-description">
965
- <aside class="tsd-sources">
966
- <ul>
967
- <li>Defined in lib/five/controllers/events.ts:133</li>
968
- </ul>
969
- </aside>
970
- <div class="tsd-comment tsd-typography">
971
- <div class="lead">
972
- <p>开始移动到某个观察点位</p>
973
- </div>
974
- <dl class="tsd-comment-tags">
975
- <dt>description</dt>
976
- <dd><p>和 moveToPano 相比</p>
977
- <ul>
978
- <li>moveToPano 在加载全景图资源前触发</li>
979
- <li>panoWillArrive 在加载全景图资源后触发</li>
980
- </ul>
981
- </dd>
982
- </dl>
983
- </div>
984
- <h4 class="tsd-parameters-title">Parameters</h4>
985
- <ul class="tsd-parameters">
986
- <li>
987
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
988
- <div class="tsd-comment tsd-typography">
989
- <p>移动到点位下标</p>
990
- </div>
991
- </li>
992
- <li>
993
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
994
- <div class="tsd-comment tsd-typography">
995
- <p>相机姿态</p>
996
- </div>
997
- </li>
998
- <li>
999
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
1000
- <div class="tsd-comment tsd-typography">
1001
- <p>是否用户触发</p>
1002
- </div>
1003
- </li>
1004
- </ul>
1005
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1006
- </li>
1007
- </ul>
1008
- </li>
1009
- <li class="tsd-parameter">
1010
- <h5>pano<wbr>Will<wbr>Load<span class="tsd-signature-symbol">: </span>function</h5>
1011
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1012
- <li class="tsd-signature tsd-kind-icon">pano<wbr>Will<wbr>Load<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1013
- </ul>
1014
- <ul class="tsd-descriptions">
1015
- <li class="tsd-description">
1016
- <aside class="tsd-sources">
1017
- <ul>
1018
- <li>Defined in lib/five/controllers/events.ts:96</li>
1019
- </ul>
1020
- </aside>
1021
- <div class="tsd-comment tsd-typography">
1022
- <div class="lead">
1023
- <p>开始加载某个观察点的全景资源</p>
1024
- </div>
1025
- </div>
1026
- <h4 class="tsd-parameters-title">Parameters</h4>
1027
- <ul class="tsd-parameters">
1028
- <li>
1029
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1030
- <div class="tsd-comment tsd-typography">
1031
- <p>移动到的点位下标</p>
1032
- </div>
1033
- </li>
1034
- </ul>
1035
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1036
- </li>
1037
- </ul>
1038
- </li>
1039
- <li class="tsd-parameter">
1040
- <h5>pinch<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
1041
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1042
- <li class="tsd-signature tsd-kind-icon">pinch<wbr>Gesture<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1043
- </ul>
1044
- <ul class="tsd-descriptions">
1045
- <li class="tsd-description">
1046
- <aside class="tsd-sources">
1047
- <ul>
1048
- <li>Defined in lib/five/controllers/events.ts:229</li>
1049
- </ul>
1050
- </aside>
1051
- <div class="tsd-comment tsd-typography">
1052
- <div class="lead">
1053
- <p>pinch 手势(双指缩放) 被触发</p>
1054
- </div>
1055
- </div>
1056
- <h4 class="tsd-parameters-title">Parameters</h4>
1057
- <ul class="tsd-parameters">
1058
- <li>
1059
- <h5>scale: <span class="tsd-signature-type">number</span></h5>
1060
- <div class="tsd-comment tsd-typography">
1061
- <p>缩放数值</p>
1062
- </div>
1063
- </li>
1064
- <li>
1065
- <h5>fov: <span class="tsd-signature-type">number</span></h5>
1066
- </li>
1067
- <li>
1068
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
1069
- <div class="tsd-comment tsd-typography">
1070
- <p>是否手势结束</p>
1071
- </div>
1072
- </li>
1073
- </ul>
1074
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1075
- </li>
1076
- </ul>
1077
- </li>
1078
- <li class="tsd-parameter">
1079
- <h5>tap<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
1080
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1081
- <li class="tsd-signature tsd-kind-icon">tap<wbr>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1082
- </ul>
1083
- <ul class="tsd-descriptions">
1084
- <li class="tsd-description">
1085
- <aside class="tsd-sources">
1086
- <ul>
1087
- <li>Defined in lib/five/controllers/events.ts:212</li>
1088
- </ul>
1089
- </aside>
1090
- <div class="tsd-comment tsd-typography">
1091
- <div class="lead">
1092
- <p>tap 手势(点击屏幕) 被触发</p>
1093
- </div>
1094
- </div>
1095
- <h4 class="tsd-parameters-title">Parameters</h4>
1096
- <ul class="tsd-parameters">
1097
- <li>
1098
- <h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5>
1099
- <div class="tsd-comment tsd-typography">
1100
- <p>点击对应的三维射线</p>
1101
- </div>
1102
- </li>
1103
- <li>
1104
- <h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5>
1105
- <div class="tsd-comment tsd-typography">
1106
- <p>点击对应的屏幕位置</p>
1107
- </div>
1108
- </li>
1109
- </ul>
1110
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1111
- </li>
1112
- </ul>
1113
- </li>
1114
- <li class="tsd-parameter">
1115
- <h5>texture<wbr>Abort<span class="tsd-signature-symbol">: </span>function</h5>
1116
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1117
- <li class="tsd-signature tsd-kind-icon">texture<wbr>Abort<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1118
- </ul>
1119
- <ul class="tsd-descriptions">
1120
- <li class="tsd-description">
1121
- <aside class="tsd-sources">
1122
- <ul>
1123
- <li>Defined in lib/five/controllers/events.ts:288</li>
1124
- </ul>
1125
- </aside>
1126
- <div class="tsd-comment tsd-typography">
1127
- <div class="lead">
1128
- <p>观察点的全景资源加载被中止</p>
1129
- </div>
1130
- </div>
1131
- <h4 class="tsd-parameters-title">Parameters</h4>
1132
- <ul class="tsd-parameters">
1133
- <li>
1134
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1135
- <div class="tsd-comment tsd-typography">
1136
- <p>加载点位下标</p>
1137
- </div>
1138
- </li>
1139
- <li>
1140
- <h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5>
1141
- <div class="tsd-comment tsd-typography">
1142
- <p>对应的 observer 详情</p>
1143
- </div>
1144
- </li>
1145
- </ul>
1146
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1147
- </li>
1148
- </ul>
1149
- </li>
1150
- <li class="tsd-parameter">
1151
- <h5>texture<wbr>Error<span class="tsd-signature-symbol">: </span>function</h5>
1152
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1153
- <li class="tsd-signature tsd-kind-icon">texture<wbr>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1154
- </ul>
1155
- <ul class="tsd-descriptions">
1156
- <li class="tsd-description">
1157
- <aside class="tsd-sources">
1158
- <ul>
1159
- <li>Defined in lib/five/controllers/events.ts:296</li>
1160
- </ul>
1161
- </aside>
1162
- <div class="tsd-comment tsd-typography">
1163
- <div class="lead">
1164
- <p>观察点的全景资源加载失败</p>
1165
- </div>
1166
- </div>
1167
- <h4 class="tsd-parameters-title">Parameters</h4>
1168
- <ul class="tsd-parameters">
1169
- <li>
1170
- <h5>error: <span class="tsd-signature-type">Error</span></h5>
1171
- <div class="tsd-comment tsd-typography">
1172
- <p>错误对象</p>
1173
- </div>
1174
- </li>
1175
- <li>
1176
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1177
- <div class="tsd-comment tsd-typography">
1178
- <p>加载点位下标</p>
1179
- </div>
1180
- </li>
1181
- <li>
1182
- <h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5>
1183
- <div class="tsd-comment tsd-typography">
1184
- <p>对应的 observer 详情</p>
1185
- </div>
1186
- </li>
1187
- </ul>
1188
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1189
- </li>
1190
- </ul>
1191
- </li>
1192
- <li class="tsd-parameter">
1193
- <h5>texture<wbr>Loaded<span class="tsd-signature-symbol">: </span>function</h5>
1194
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1195
- <li class="tsd-signature tsd-kind-icon">texture<wbr>Loaded<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a>, meta<span class="tsd-signature-symbol">: </span><a href="five.html#NetWorkMeta" class="tsd-signature-type" data-tsd-kind="Type alias">NetWorkMeta</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1196
- </ul>
1197
- <ul class="tsd-descriptions">
1198
- <li class="tsd-description">
1199
- <aside class="tsd-sources">
1200
- <ul>
1201
- <li>Defined in lib/five/controllers/events.ts:303</li>
1202
- </ul>
1203
- </aside>
1204
- <div class="tsd-comment tsd-typography">
1205
- <div class="lead">
1206
- <p>观察点的全景资源加载完成</p>
1207
- </div>
1208
- </div>
1209
- <h4 class="tsd-parameters-title">Parameters</h4>
1210
- <ul class="tsd-parameters">
1211
- <li>
1212
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1213
- <div class="tsd-comment tsd-typography">
1214
- <p>加载点位下标</p>
1215
- </div>
1216
- </li>
1217
- <li>
1218
- <h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5>
1219
- <div class="tsd-comment tsd-typography">
1220
- <p>对应的 observer 详情</p>
1221
- </div>
1222
- </li>
1223
- <li>
1224
- <h5>meta: <a href="five.html#NetWorkMeta" class="tsd-signature-type" data-tsd-kind="Type alias">NetWorkMeta</a><span class="tsd-signature-symbol">[]</span></h5>
1225
- </li>
1226
- </ul>
1227
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1228
- </li>
1229
- </ul>
1230
- </li>
1231
- <li class="tsd-parameter">
1232
- <h5>texture<wbr>Loading<span class="tsd-signature-symbol">: </span>function</h5>
1233
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1234
- <li class="tsd-signature tsd-kind-icon">texture<wbr>Loading<span class="tsd-signature-symbol">(</span>progress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1235
- </ul>
1236
- <ul class="tsd-descriptions">
1237
- <li class="tsd-description">
1238
- <aside class="tsd-sources">
1239
- <ul>
1240
- <li>Defined in lib/five/controllers/events.ts:281</li>
1241
- </ul>
1242
- </aside>
1243
- <div class="tsd-comment tsd-typography">
1244
- <div class="lead">
1245
- <p>观察点的全景资源加载中,可获取到进度</p>
1246
- </div>
1247
- </div>
1248
- <h4 class="tsd-parameters-title">Parameters</h4>
1249
- <ul class="tsd-parameters">
1250
- <li>
1251
- <h5>progress: <span class="tsd-signature-type">number</span></h5>
1252
- <div class="tsd-comment tsd-typography">
1253
- <p>加载进度 [0-1]</p>
1254
- </div>
1255
- </li>
1256
- <li>
1257
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1258
- <div class="tsd-comment tsd-typography">
1259
- <p>加载点位下标</p>
1260
- </div>
1261
- </li>
1262
- <li>
1263
- <h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5>
1264
- <div class="tsd-comment tsd-typography">
1265
- <p>对应的 observer 详情</p>
1266
- </div>
1267
- </li>
1268
- </ul>
1269
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1270
- </li>
1271
- </ul>
1272
- </li>
1273
- <li class="tsd-parameter">
1274
- <h5>texture<wbr>Start<wbr>Load<span class="tsd-signature-symbol">: </span>function</h5>
1275
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1276
- <li class="tsd-signature tsd-kind-icon">texture<wbr>Start<wbr>Load<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1277
- </ul>
1278
- <ul class="tsd-descriptions">
1279
- <li class="tsd-description">
1280
- <aside class="tsd-sources">
1281
- <ul>
1282
- <li>Defined in lib/five/controllers/events.ts:273</li>
1283
- </ul>
1284
- </aside>
1285
- <div class="tsd-comment tsd-typography">
1286
- <div class="lead">
1287
- <p>观察点的全景资源开始加载</p>
1288
- </div>
1289
- </div>
1290
- <h4 class="tsd-parameters-title">Parameters</h4>
1291
- <ul class="tsd-parameters">
1292
- <li>
1293
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1294
- <div class="tsd-comment tsd-typography">
1295
- <p>加载点位下标</p>
1296
- </div>
1297
- </li>
1298
- <li>
1299
- <h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5>
1300
- <div class="tsd-comment tsd-typography">
1301
- <p>对应的 observer 详情</p>
1302
- </div>
1303
- </li>
1304
- </ul>
1305
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1306
- </li>
1307
- </ul>
1308
- </li>
1309
- <li class="tsd-parameter">
1310
- <h5>vr<wbr>Wants<wbr>ToExit<span class="tsd-signature-symbol">: </span>function</h5>
1311
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1312
- <li class="tsd-signature tsd-kind-icon">vr<wbr>Wants<wbr>ToExit<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
1313
- </ul>
1314
- <ul class="tsd-descriptions">
1315
- <li class="tsd-description">
1316
- <aside class="tsd-sources">
1317
- <ul>
1318
- <li>Defined in lib/five/controllers/events.ts:266</li>
1319
- </ul>
1320
- </aside>
1321
- <div class="tsd-comment tsd-typography">
1322
- <div class="lead">
1323
- <p>意图要退出VR眼镜模式</p>
1324
- </div>
1325
- </div>
1326
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
1327
- </li>
1328
- </ul>
1329
- </li>
1330
- <li class="tsd-parameter">
1331
- <h5>wants<wbr>Change<wbr>Camera<wbr>Fov<span class="tsd-signature-symbol">: </span>function</h5>
1332
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1333
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Change<wbr>Camera<wbr>Fov<span class="tsd-signature-symbol">(</span>fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1334
- </ul>
1335
- <ul class="tsd-descriptions">
1336
- <li class="tsd-description">
1337
- <aside class="tsd-sources">
1338
- <ul>
1339
- <li>Defined in lib/five/controllers/events.ts:36</li>
1340
- </ul>
1341
- </aside>
1342
- <div class="tsd-comment tsd-typography">
1343
- <div class="lead">
1344
- <p>意图要变化相机的可视角度 可以通过 <code>return false</code> 阻止</p>
1345
- </div>
1346
- <dl class="tsd-comment-tags">
1347
- <dt>deprecated</dt>
1348
- <dd><p>建议通过 初始化设置的 <code>defaultFov</code>, <code>maxFov</code>, <code>minFov</code> 来限制</p>
1349
- </dd>
1350
- </dl>
1351
- </div>
1352
- <h4 class="tsd-parameters-title">Parameters</h4>
1353
- <ul class="tsd-parameters">
1354
- <li>
1355
- <h5>fov: <span class="tsd-signature-type">number</span></h5>
1356
- <div class="tsd-comment tsd-typography">
1357
- <p>意图要变化相机的可视角度</p>
1358
- </div>
1359
- </li>
1360
- </ul>
1361
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1362
- <p>可以通过 <code>return false</code> 阻止</p>
1363
- </li>
1364
- </ul>
1365
- </li>
1366
- <li class="tsd-parameter">
1367
- <h5>wants<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
1368
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1369
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Gesture<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a>, pointers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1370
- </ul>
1371
- <ul class="tsd-descriptions">
1372
- <li class="tsd-description">
1373
- <aside class="tsd-sources">
1374
- <ul>
1375
- <li>Defined in lib/five/controllers/events.ts:159</li>
1376
- </ul>
1377
- </aside>
1378
- <div class="tsd-comment tsd-typography">
1379
- <div class="lead">
1380
- <p>意图要触发手势, 可以通过 <code>return false</code> 阻止</p>
1381
- </div>
1382
- </div>
1383
- <h4 class="tsd-parameters-title">Parameters</h4>
1384
- <ul class="tsd-parameters">
1385
- <li>
1386
- <h5>type: <a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a></h5>
1387
- <div class="tsd-comment tsd-typography">
1388
- <p>手势类型</p>
1389
- </div>
1390
- </li>
1391
- <li>
1392
- <h5>pointers: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
1393
- <div class="tsd-comment tsd-typography">
1394
- <p>手指位置</p>
1395
- </div>
1396
- </li>
1397
- <li>
1398
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
1399
- <div class="tsd-comment tsd-typography">
1400
- <p>是否手势结束</p>
1401
- </div>
1402
- </li>
1403
- </ul>
1404
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1405
- <p>可以通过 <code>return false</code> 阻止</p>
1406
- </li>
1407
- </ul>
1408
- </li>
1409
- <li class="tsd-parameter">
1410
- <h5>wants<wbr>Interia<wbr>Pan<span class="tsd-signature-symbol">: </span>function</h5>
1411
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1412
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Interia<wbr>Pan<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1413
- </ul>
1414
- <ul class="tsd-descriptions">
1415
- <li class="tsd-description">
1416
- <aside class="tsd-sources">
1417
- <ul>
1418
- <li>Defined in lib/five/controllers/events.ts:190</li>
1419
- </ul>
1420
- </aside>
1421
- <div class="tsd-comment tsd-typography">
1422
- <div class="lead">
1423
- <p>意图要触发 pan 手势(滑动屏幕) 的惯性运动, 可以通过 <code>return false</code> 阻止</p>
1424
- </div>
1425
- </div>
1426
- <h4 class="tsd-parameters-title">Parameters</h4>
1427
- <ul class="tsd-parameters">
1428
- <li>
1429
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
1430
- <div class="tsd-comment tsd-typography">
1431
- <p>意图的相机姿态</p>
1432
- </div>
1433
- </li>
1434
- </ul>
1435
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1436
- <p>可以通过 <code>return false</code> 阻止</p>
1437
- </li>
1438
- </ul>
1439
- </li>
1440
- <li class="tsd-parameter">
1441
- <h5>wants<wbr>Mouse<wbr>Wheel<span class="tsd-signature-symbol">: </span>function</h5>
1442
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1443
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Mouse<wbr>Wheel<span class="tsd-signature-symbol">(</span>delta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, nextFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1444
- </ul>
1445
- <ul class="tsd-descriptions">
1446
- <li class="tsd-description">
1447
- <aside class="tsd-sources">
1448
- <ul>
1449
- <li>Defined in lib/five/controllers/events.ts:238</li>
1450
- </ul>
1451
- </aside>
1452
- <div class="tsd-comment tsd-typography">
1453
- <div class="lead">
1454
- <p>意图要触发 鼠标滚轮 可以通过 <code>return false</code> 阻止</p>
1455
- </div>
1456
- </div>
1457
- <h4 class="tsd-parameters-title">Parameters</h4>
1458
- <ul class="tsd-parameters">
1459
- <li>
1460
- <h5>delta: <span class="tsd-signature-type">number</span></h5>
1461
- <div class="tsd-comment tsd-typography">
1462
- <p>滚轮数值</p>
1463
- </div>
1464
- </li>
1465
- <li>
1466
- <h5>nextFov: <span class="tsd-signature-type">number</span></h5>
1467
- <div class="tsd-comment tsd-typography">
1468
- <p>意图的fov变更</p>
1469
- </div>
1470
- </li>
1471
- <li>
1472
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
1473
- <div class="tsd-comment tsd-typography">
1474
- <p>是否手势结束</p>
1475
- </div>
1476
- </li>
1477
- </ul>
1478
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1479
- <p>可以通过 <code>return false</code> 阻止</p>
1480
- </li>
1481
- </ul>
1482
- </li>
1483
- <li class="tsd-parameter">
1484
- <h5>wants<wbr>Move<wbr>ToPano<span class="tsd-signature-symbol">: </span>function</h5>
1485
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1486
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Move<wbr>ToPano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1487
- </ul>
1488
- <ul class="tsd-descriptions">
1489
- <li class="tsd-description">
1490
- <aside class="tsd-sources">
1491
- <ul>
1492
- <li>Defined in lib/five/controllers/events.ts:79</li>
1493
- </ul>
1494
- </aside>
1495
- <div class="tsd-comment tsd-typography">
1496
- <div class="lead">
1497
- <p>意图要移动到某个点位 可以通过 <code>return false</code> 阻止</p>
1498
- </div>
1499
- </div>
1500
- <h4 class="tsd-parameters-title">Parameters</h4>
1501
- <ul class="tsd-parameters">
1502
- <li>
1503
- <h5>panoIndex: <span class="tsd-signature-type">number</span></h5>
1504
- <div class="tsd-comment tsd-typography">
1505
- <p>图要移动到的点位下标</p>
1506
- </div>
1507
- </li>
1508
- <li>
1509
- <h5>options: <a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a></h5>
1510
- <div class="tsd-comment tsd-typography">
1511
- <p>移动参数</p>
1512
- </div>
1513
- </li>
1514
- <li>
1515
- <h5>userAction: <span class="tsd-signature-type">boolean</span></h5>
1516
- <div class="tsd-comment tsd-typography">
1517
- <p>是否用户触发</p>
1518
- </div>
1519
- </li>
1520
- </ul>
1521
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1522
- <p>可以通过 <code>return false</code> 阻止</p>
1523
- </li>
1524
- </ul>
1525
- </li>
1526
- <li class="tsd-parameter">
1527
- <h5>wants<wbr>Pan<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
1528
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1529
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Pan<wbr>Gesture<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1530
- </ul>
1531
- <ul class="tsd-descriptions">
1532
- <li class="tsd-description">
1533
- <aside class="tsd-sources">
1534
- <ul>
1535
- <li>Defined in lib/five/controllers/events.ts:175</li>
1536
- </ul>
1537
- </aside>
1538
- <div class="tsd-comment tsd-typography">
1539
- <div class="lead">
1540
- <p>意图要触发 pan 手势(滑动屏幕), 可以通过 <code>return false</code> 阻止</p>
1541
- </div>
1542
- </div>
1543
- <h4 class="tsd-parameters-title">Parameters</h4>
1544
- <ul class="tsd-parameters">
1545
- <li>
1546
- <h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5>
1547
- <div class="tsd-comment tsd-typography">
1548
- <p>意图的相机姿态</p>
1549
- </div>
1550
- </li>
1551
- <li>
1552
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
1553
- <div class="tsd-comment tsd-typography">
1554
- <p>是否手势结束</p>
1555
- </div>
1556
- </li>
1557
- </ul>
1558
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1559
- <p>可以通过 <code>return false</code> 阻止</p>
1560
- </li>
1561
- </ul>
1562
- </li>
1563
- <li class="tsd-parameter">
1564
- <h5>wants<wbr>Pinch<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
1565
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1566
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Pinch<wbr>Gesture<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, nextFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1567
- </ul>
1568
- <ul class="tsd-descriptions">
1569
- <li class="tsd-description">
1570
- <aside class="tsd-sources">
1571
- <ul>
1572
- <li>Defined in lib/five/controllers/events.ts:221</li>
1573
- </ul>
1574
- </aside>
1575
- <div class="tsd-comment tsd-typography">
1576
- <div class="lead">
1577
- <p>意图要触发 pinch 手势(双指缩放),可以通过 <code>return false</code> 阻止</p>
1578
- </div>
1579
- </div>
1580
- <h4 class="tsd-parameters-title">Parameters</h4>
1581
- <ul class="tsd-parameters">
1582
- <li>
1583
- <h5>scale: <span class="tsd-signature-type">number</span></h5>
1584
- <div class="tsd-comment tsd-typography">
1585
- <p>缩放数值</p>
1586
- </div>
1587
- </li>
1588
- <li>
1589
- <h5>nextFov: <span class="tsd-signature-type">number</span></h5>
1590
- <div class="tsd-comment tsd-typography">
1591
- <p>意图的fov变更</p>
1592
- </div>
1593
- </li>
1594
- <li>
1595
- <h5>final: <span class="tsd-signature-type">boolean</span></h5>
1596
- <div class="tsd-comment tsd-typography">
1597
- <p>是否手势结束</p>
1598
- </div>
1599
- </li>
1600
- </ul>
1601
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1602
- <p>可以通过 <code>return false</code> 阻止</p>
1603
- </li>
1604
- </ul>
1605
- </li>
1606
- <li class="tsd-parameter">
1607
- <h5>wants<wbr>Show<wbr>Intersection<wbr>OnModel<span class="tsd-signature-symbol">: </span>function</h5>
1608
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1609
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Show<wbr>Intersection<wbr>OnModel<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1610
- </ul>
1611
- <ul class="tsd-descriptions">
1612
- <li class="tsd-description">
1613
- <aside class="tsd-sources">
1614
- <ul>
1615
- <li>Defined in lib/five/controllers/events.ts:260</li>
1616
- </ul>
1617
- </aside>
1618
- <div class="tsd-comment tsd-typography">
1619
- <div class="lead">
1620
- <p>意图要展示鼠标焦点环,可以通过 <code>return false</code> 阻止</p>
1621
- </div>
1622
- </div>
1623
- <h4 class="tsd-parameters-title">Parameters</h4>
1624
- <ul class="tsd-parameters">
1625
- <li>
1626
- <h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5>
1627
- </li>
1628
- </ul>
1629
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1630
- <p>可以通过 <code>return false</code> 阻止</p>
1631
- </li>
1632
- </ul>
1633
- </li>
1634
- <li class="tsd-parameter">
1635
- <h5>wants<wbr>Tap<wbr>Gesture<span class="tsd-signature-symbol">: </span>function</h5>
1636
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
1637
- <li class="tsd-signature tsd-kind-icon">wants<wbr>Tap<wbr>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li>
1638
- </ul>
1639
- <ul class="tsd-descriptions">
1640
- <li class="tsd-description">
1641
- <aside class="tsd-sources">
1642
- <ul>
1643
- <li>Defined in lib/five/controllers/events.ts:205</li>
1644
- </ul>
1645
- </aside>
1646
- <div class="tsd-comment tsd-typography">
1647
- <div class="lead">
1648
- <p>意图要触发 tap 手势(点击屏幕), 可以通过 <code>return false</code> 阻止</p>
1649
- </div>
1650
- </div>
1651
- <h4 class="tsd-parameters-title">Parameters</h4>
1652
- <ul class="tsd-parameters">
1653
- <li>
1654
- <h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5>
1655
- <div class="tsd-comment tsd-typography">
1656
- <p>点击对应的三维射线</p>
1657
- </div>
1658
- </li>
1659
- <li>
1660
- <h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5>
1661
- <div class="tsd-comment tsd-typography">
1662
- <p>点击对应的屏幕位置</p>
1663
- </div>
1664
- </li>
1665
- </ul>
1666
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4>
1667
- <p>可以通过 <code>return false</code> 阻止</p>
1668
- </li>
1669
- </ul>
1670
- </li>
1671
- </ul>
1672
- </div>
1673
- </section>
1674
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
1675
- <a name="EventTypes" class="tsd-anchor"></a>
1676
- <h3>Event<wbr>Types</h3>
1677
- <div class="tsd-signature tsd-kind-icon">Event<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="five.html#ControllerEventTypes" class="tsd-signature-type" data-tsd-kind="Type alias">ControllerEventTypes</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">typeof </span><a href="five.html#PROXY_CONTROLLER_EVENT_NAMES" class="tsd-signature-type" data-tsd-kind="Variable">PROXY_CONTROLLER_EVENT_NAMES</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>currentStateChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>dispose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>helpersVisibleChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>load<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>loaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modeChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelBvhLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelGeometryLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelLoadError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelMaterialLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelShownFloorChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelWillLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>network<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>renderFrame<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>stateChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>stateSynced<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsChangeMode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsMoveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsToMoveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>willLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div>
1678
- <aside class="tsd-sources">
1679
- <ul>
1680
- <li>Defined in lib/five/application/events.ts:52</li>
1681
- </ul>
1682
- </aside>
1683
- <div class="tsd-comment tsd-typography">
1684
- <div class="lead">
1685
- <p>Five 事件列表</p>
1686
- </div>
1687
- <dl class="tsd-comment-tags">
1688
- <dt>description</dt>
1689
- <dd><p>具体事件列表 请查看 <a href="../interfaces/five.EventCallback.html">EventCallback</a></p>
1690
- </dd>
1691
- </dl>
1692
- </div>
1693
- </section>
1694
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
1695
- <a name="FivePlugin" class="tsd-anchor"></a>
1696
- <h3>Five<wbr>Plugin</h3>
1697
- <div class="tsd-signature tsd-kind-icon">Five<wbr>Plugin&lt;Parameters, Returns&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> ? </span><span class="tsd-signature-symbol">(</span>five<span class="tsd-signature-symbol">: </span><a href="../classes/five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Returns</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-symbol">(</span>five<span class="tsd-signature-symbol">: </span><a href="../classes/five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a>, parameters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Returns</span></div>
1698
- <aside class="tsd-sources">
1699
- <ul>
1700
- <li>Defined in lib/five/types/plugin.ts:9</li>
1701
- </ul>
1702
- </aside>
1703
- <div class="tsd-comment tsd-typography">
1704
- <div class="lead">
1705
- <p>Five 插件</p>
1706
- <a href="#插件-plugins" id="插件-plugins" style="color: inherit; text-decoration: none;">
1707
- <h1>插件 Plugins</h1>
1708
- </a>
1709
- <blockquote>
1710
- <p>Five 提供了工厂模式的插件机制,
1711
- 提供了 FivePlugin FivePluginInstance FivePluginInits 接口来帮助创建和使用插件</p>
1712
- </blockquote>
1713
- <a href="#插件的作用" id="插件的作用" style="color: inherit; text-decoration: none;">
1714
- <h2>插件的作用</h2>
1715
- </a>
1716
- <ol>
1717
- <li>插件即是将一些通用的对于 five 的操作的一些复用的抽象。</li>
1718
- <li>可以通过插件来组织代码,减少逻辑依赖。</li>
1719
- </ol>
1720
- <a href="#创建插件" id="创建插件" style="color: inherit; text-decoration: none;">
1721
- <h2>创建插件</h2>
1722
- </a>
1723
- <pre><code><span style="color: #001080">mkdir</span><span style="color: #000000"> </span><span style="color: #001080">a</span><span style="color: #000000">-</span><span style="color: #001080">five</span><span style="color: #000000">-</span><span style="color: #001080">plugin</span>
1724
- <span style="color: #001080">npm</span><span style="color: #000000"> </span><span style="color: #001080">init</span><span style="color: #000000"> -</span><span style="color: #001080">y</span>
1725
- <span style="color: #001080">npm</span><span style="color: #000000"> </span><span style="color: #001080">install</span><span style="color: #000000"> @</span><span style="color: #001080">realsee</span><span style="color: #000000">/</span><span style="color: #001080">five</span>
1726
- <span style="color: #001080">npx</span><span style="color: #000000"> </span><span style="color: #001080">five</span><span style="color: #000000">-</span><span style="color: #001080">plugin</span><span style="color: #000000">-</span><span style="color: #001080">init</span>
1727
- </code></pre>
1728
- <a href="#项目目录" id="项目目录" style="color: inherit; text-decoration: none;">
1729
- <h2>项目目录</h2>
1730
- </a>
1731
- <pre><code><span style="color: #000000">.</span>
1732
- <span style="color: #000000">├── </span><span style="color: #0070C1">README</span><span style="color: #000000">.</span><span style="color: #001080">md</span>
1733
- <span style="color: #000000">├── </span><span style="color: #001080">devtools</span>
1734
- <span style="color: #000000">│ ├── </span><span style="color: #001080">external</span><span style="color: #000000">-</span><span style="color: #001080">five</span><span style="color: #000000">.</span><span style="color: #001080">js</span>
1735
- <span style="color: #000000">│ ├── </span><span style="color: #001080">external</span><span style="color: #000000">-</span><span style="color: #001080">three</span><span style="color: #000000">.</span><span style="color: #001080">js</span>
1736
- <span style="color: #000000">│ ├── </span><span style="color: #001080">tsconfig</span><span style="color: #000000">.</span><span style="color: #001080">build</span><span style="color: #000000">.</span><span style="color: #001080">json</span>
1737
- <span style="color: #000000">│ ├── </span><span style="color: #001080">webpack</span><span style="color: #000000">.</span><span style="color: #001080">bundle</span><span style="color: #000000">.</span><span style="color: #001080">js</span>
1738
- <span style="color: #000000">│ └── </span><span style="color: #001080">webpack</span><span style="color: #000000">.</span><span style="color: #001080">example</span><span style="color: #000000">.</span><span style="color: #001080">js</span>
1739
- <span style="color: #000000">├── </span><span style="color: #001080">docs</span>
1740
- <span style="color: #000000">├── </span><span style="color: #001080">examples</span>
1741
- <span style="color: #000000">│ ├── </span><span style="color: #001080">data</span><span style="color: #000000">.</span><span style="color: #001080">json</span>
1742
- <span style="color: #000000">│ ├── </span><span style="color: #001080">index</span><span style="color: #000000">.</span><span style="color: #001080">html</span>
1743
- <span style="color: #000000">│ └── </span><span style="color: #001080">index</span><span style="color: #000000">.</span><span style="color: #001080">ts</span>
1744
- <span style="color: #000000">├── </span><span style="color: #001080">lib</span>
1745
- <span style="color: #000000">│ └── </span><span style="color: #001080">index</span><span style="color: #000000">.</span><span style="color: #001080">ts</span>
1746
- <span style="color: #000000">├── </span><span style="color: #001080">package</span><span style="color: #000000">.</span><span style="color: #001080">json</span>
1747
- <span style="color: #000000">└── </span><span style="color: #001080">tsconfig</span><span style="color: #000000">.</span><span style="color: #001080">json</span>
1748
- </code></pre>
1749
- <a href="#npm-script" id="npm-script" style="color: inherit; text-decoration: none;">
1750
- <h2>npm script</h2>
1751
- </a>
1752
- <ul>
1753
- <li><code>example</code>: 开发环境,编译 example 下的 index.ts, 监听变化,并且开启端口监听,可以通过 <code>localhost:8080</code> 访问</li>
1754
- <li><code>build:doc</code>: 通过 typedoc 生成项目文档,生成目标在 <code>docs</code> 目录下</li>
1755
- <li><code>build:typescript</code>: 通过 <code>tsc</code> 编译 ts 代码,生成目标在 <code>build</code> 目录下</li>
1756
- <li><code>build:bundle</code>: 通过 <code>webpack</code> 编译 unpack 包, 生成目标在 <code>bundle</code> 目录下</li>
1757
- <li><code>build:all</code>: <code>npm run build:doc &amp;&amp; npm run build:typescript &amp;&amp; &amp;&amp; npm run build:example &amp;&amp; npm run build:bundle</code></li>
1758
- </ul>
1759
- <a href="#编译配置" id="编译配置" style="color: inherit; text-decoration: none;">
1760
- <h2>编译配置</h2>
1761
- </a>
1762
- <p>编译配置均在 devtools 目录下, 可以自行修改配置</p>
1763
- <ul>
1764
- <li>ts 的编译参数在 <code>devtools/tsconfig.build.json</code> 下</li>
1765
- <li>bundle 的 webpack 配置在 <code>devtools/webpack.bundle.js</code> 下</li>
1766
- </ul>
1767
- <a href="#发布" id="发布" style="color: inherit; text-decoration: none;">
1768
- <h2>发布</h2>
1769
- </a>
1770
- <ul>
1771
- <li>往 npm 发布,默认发布的入口文件在 <code>build/index.js</code>, 即通过 tsc 编译得到的代码。你可以在 <code>package.json</code> 中修改。</li>
1772
- <li>bundle 包发布,可以直接使用 <code>build:bundle</code> 生成的结果。</li>
1773
- </ul>
1774
- <a href="#类型说明" id="类型说明" style="color: inherit; text-decoration: none;">
1775
- <h3>类型说明</h3>
1776
- </a>
1777
- <pre><code class="language-typescript"><span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">FivePlugin</span><span style="color: #000000">&lt;</span><span style="color: #267F99">Parameters</span><span style="color: #000000">, </span><span style="color: #267F99">Returns</span><span style="color: #000000">&gt;;</span>
1778
- </code></pre>
1779
- <ul>
1780
- <li>Parameters 插件定义的参数</li>
1781
- <li>Returns 插件返回的实例</li>
1782
- </ul>
1783
- <a href="#简单例子" id="简单例子" style="color: inherit; text-decoration: none;">
1784
- <h3>简单例子</h3>
1785
- </a>
1786
- <blockquote>
1787
- <p>这是一个在当five显示界面被点击时 打印 &quot;tap!&quot; 的一个简单插件, 并且可以拉取历史列表</p>
1788
- </blockquote>
1789
- <pre><code class="language-typescript"><span style="color: #AF00DB">import</span><span style="color: #000000"> { </span><span style="color: #001080">FivePlugin</span><span style="color: #000000"> } </span><span style="color: #AF00DB">from</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;@realsee/five&quot;</span><span style="color: #000000">;</span>
1790
-
1791
- <span style="color: #008000">// 打印的内容</span>
1792
- <span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginParameter</span><span style="color: #000000"> = </span><span style="color: #267F99">string</span><span style="color: #000000">;</span>
1793
-
1794
- <span style="color: #008000">// 实例方法</span>
1795
- <span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginReturns</span><span style="color: #000000"> = {</span>
1796
- <span style="color: #000000"> </span><span style="color: #008000">// 一个返回历史列表的防范</span>
1797
- <span style="color: #000000"> </span><span style="color: #795E26">getHistory</span><span style="color: #000000">: () </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> </span><span style="color: #267F99">string</span><span style="color: #000000">[]</span>
1798
- <span style="color: #000000">};</span>
1799
-
1800
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">TapRecordPlugin</span><span style="color: #000000">: </span><span style="color: #267F99">FivePlugin</span><span style="color: #000000">&lt;</span>
1801
- <span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginParameter</span><span style="color: #000000">,</span>
1802
- <span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginReturns</span>
1803
- <span style="color: #000000">&gt; = (</span><span style="color: #001080">five</span><span style="color: #000000">, </span><span style="color: #001080">message</span><span style="color: #000000"> = </span><span style="color: #A31515">&quot;tap!&quot;</span><span style="color: #000000">) </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> {</span>
1804
-
1805
- <span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">list</span><span style="color: #000000">: </span><span style="color: #267F99">string</span><span style="color: #000000">[] = [];</span>
1
+ <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>five | 如视 Five SDK - v5.0.0-alpha.75</title><meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.75"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.75</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视 Five SDK - v5.0.0-alpha.75</a></li><li><a href="five.html">five</a></li></ul><h1>Module five</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Namespaces</h3><ul class="tsd-index-list"><li class="tsd-kind-namespace tsd-parent-kind-module"><a href="five.SubscribeMixinType.html" class="tsd-kind-icon">Subscribe<wbr/>Mixin<wbr/>Type</a></li></ul></section><section class="tsd-index-section "><h3>Classes</h3><ul class="tsd-index-list"><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.AnimationFrameLoop.html" class="tsd-kind-icon">Animation<wbr/>Frame<wbr/>Loop</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVH.html" class="tsd-kind-icon">BVH</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVHNode.html" class="tsd-kind-icon">BVHNode</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVHVector3.html" class="tsd-kind-icon">BVHVector3</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Camera.html" class="tsd-kind-icon">Camera</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Five.html" class="tsd-kind-icon">Five</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.InternalWebGLRenderer.html" class="tsd-kind-icon">Internal<wbr/>WebGLRenderer</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Model.html" class="tsd-kind-icon">Model</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.NetworkSubscribe.html" class="tsd-kind-icon">Network<wbr/>Subscribe</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMContainer.html" class="tsd-kind-icon">PBMContainer</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMGroup.html" class="tsd-kind-icon">PBMGroup</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMMaterial.html" class="tsd-kind-icon">PBMMaterial</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMMesh.html" class="tsd-kind-icon">PBMMesh</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Scene.html" class="tsd-kind-icon">Scene</a></li><li class="tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter"><a href="../classes/five.Subscribe.html" class="tsd-kind-icon">Subscribe</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Work.html" class="tsd-kind-icon">Work</a></li></ul></section><section class="tsd-index-section "><h3>Interfaces</h3><ul class="tsd-index-list"><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.AddableObject.html" class="tsd-kind-icon">Addable<wbr/>Object</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.AnimationFrame.html" class="tsd-kind-icon">Animation<wbr/>Frame</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.BVHIntersect.html" class="tsd-kind-icon">BVHIntersect</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.CameraPose.html" class="tsd-kind-icon">Camera<wbr/>Pose</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Depth<wbr/>Panorama<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.EventCallback.html" class="tsd-kind-icon">Event<wbr/>Callback</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.FiveInitArgs.html" class="tsd-kind-icon">Five<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-kind-icon">Floorplan<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ImageOptions.html" class="tsd-kind-icon">Image<wbr/>Options</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ImageURLOptions.html" class="tsd-kind-icon">ImageURLOptions</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-kind-icon">Intersect<wbr/>Mesh<wbr/>Interface</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Intersection.html" class="tsd-kind-icon">Intersection</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-kind-icon">Model<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ModelEventCallback.html" class="tsd-kind-icon">Model<wbr/>Event<wbr/>Callback</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.MovePanoOptions.html" class="tsd-kind-icon">Move<wbr/>Pano<wbr/>Options</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PBMPanoPicture.html" class="tsd-kind-icon">PBMPano<wbr/>Picture</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PBMParameters.html" class="tsd-kind-icon">PBMParameters</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoCircleMeshInterface.html" class="tsd-kind-icon">Pano<wbr/>Circle<wbr/>Mesh<wbr/>Interface</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoramaLikeControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr/>Like<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Pose.html" class="tsd-kind-icon">Pose</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Scissor.html" class="tsd-kind-icon">Scissor</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.State.html" class="tsd-kind-icon">State</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.TextureOptions.html" class="tsd-kind-icon">Texture<wbr/>Options</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-kind-icon">Topview<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">VRPanorama<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkCubeImage.html" class="tsd-kind-icon">Work<wbr/>Cube<wbr/>Image</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkImage.html" class="tsd-kind-icon">Work<wbr/>Image</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkInitial.html" class="tsd-kind-icon">Work<wbr/>Initial</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkModel.html" class="tsd-kind-icon">Work<wbr/>Model</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkObserver.html" class="tsd-kind-icon">Work<wbr/>Observer</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkTile.html" class="tsd-kind-icon">Work<wbr/>Tile</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkVideo.html" class="tsd-kind-icon">Work<wbr/>Video</a></li></ul></section><section class="tsd-index-section "><h3>Type aliases</h3><ul class="tsd-index-list"><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ControllerCustomInitTypes" class="tsd-kind-icon">Controller<wbr/>Custom<wbr/>Init<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ControllerEventTypes" class="tsd-kind-icon">Controller<wbr/>Event<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#EventTypes" class="tsd-kind-icon">Event<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePlugin" class="tsd-kind-icon">Five<wbr/>Plugin</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePluginInit" class="tsd-kind-icon">Five<wbr/>Plugin<wbr/>Init</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePluginInstance" class="tsd-kind-icon">Five<wbr/>Plugin<wbr/>Instance</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#GestureTypes" class="tsd-kind-icon">Gesture<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWork" class="tsd-kind-icon">Loose<wbr/>Work</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkInitial" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Initial</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkModel" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Model</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkObserver" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Observer</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkPanorama" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Panorama</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkVideo" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Video</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#Mirror" class="tsd-kind-icon">Mirror</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#Mode" class="tsd-kind-icon">Mode</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ModelEventType" class="tsd-kind-icon">Model<wbr/>Event<wbr/>Type</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetWorkMeta" class="tsd-kind-icon">Net<wbr/>Work<wbr/>Meta</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetworkState" class="tsd-kind-icon">Network<wbr/>State</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetworkType" class="tsd-kind-icon">Network<wbr/>Type</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ParseWorkOptions" class="tsd-kind-icon">Parse<wbr/>Work<wbr/>Options</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#SubscribeEventMap" class="tsd-kind-icon">Subscribe<wbr/>Event<wbr/>Map</a></li></ul></section><section class="tsd-index-section "><h3>Variables</h3><ul class="tsd-index-list"><li class="tsd-kind-variable tsd-parent-kind-module"><a href="five.html#PROXY_CONTROLLER_EVENT_NAMES" class="tsd-kind-icon">PROXY_<wbr/>CONTROLLER_<wbr/>EVENT_<wbr/>NAMES</a></li></ul></section><section class="tsd-index-section "><h3>Functions</h3><ul class="tsd-index-list"><li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#defaultImageURLTransform" class="tsd-kind-icon">default<wbr/>ImageURLTransform</a></li><li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#getViewportScale" class="tsd-kind-icon">get<wbr/>Viewport<wbr/>Scale</a></li><li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#parseWork" class="tsd-kind-icon">parse<wbr/>Work</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Type aliases</h2><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="ControllerCustomInitTypes" class="tsd-anchor"></a><h3>Controller<wbr/>Custom<wbr/>Init<wbr/>Types</h3><div class="tsd-signature tsd-kind-icon">Controller<wbr/>Custom<wbr/>Init<wbr/>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>DepthPanorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">DepthPanoramaControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Floorplan<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FloorplanControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Model<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">ModelControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Panorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">PanoramaControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>Topview<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">TopviewControllerCustomInitArgs</a><span class="tsd-signature-symbol">; </span>VRPanorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">VRPanoramaControllerCustomInitArgs</a><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/controllers.ts:22</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>Depth<wbr/>Panorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">DepthPanoramaControllerCustomInitArgs</a></h5></li><li class="tsd-parameter"><h5>Floorplan<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">FloorplanControllerCustomInitArgs</a></h5></li><li class="tsd-parameter"><h5>Model<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">ModelControllerCustomInitArgs</a></h5></li><li class="tsd-parameter"><h5>Panorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">PanoramaControllerCustomInitArgs</a></h5></li><li class="tsd-parameter"><h5>Topview<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">TopviewControllerCustomInitArgs</a></h5></li><li class="tsd-parameter"><h5>VRPanorama<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-signature-type" data-tsd-kind="Interface">VRPanoramaControllerCustomInitArgs</a></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="ControllerEventTypes" class="tsd-anchor"></a><h3>Controller<wbr/>Event<wbr/>Types</h3><div class="tsd-signature tsd-kind-icon">Controller<wbr/>Event<wbr/>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>cameraDirectionUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>cameraFovUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>cameraPositionUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>cameraUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>gesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>initAnimationEnded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>initAnimationWillStart<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>interiaPan<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>intersectionHidden<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>intersectionOnModelUpdate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>mouseWheel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>moveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>moveToPanoCanceled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>movingToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoArrived<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoLoadError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoSelected<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoWillArrive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>panoWillLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>pinchGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>tapGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureAbort<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureLoading<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>textureStartLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>vrWantsToExit<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsChangeCameraFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsInteriaPan<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsMouseWheel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsMoveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsPanGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsPinchGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsShowIntersectionOnModel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsTapGesture<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:11</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>camera<wbr/>Direction<wbr/>Update<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Direction<wbr/>Update<span class="tsd-signature-symbol">(</span>coordinates<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;longitude&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;latitude&quot;</span><span class="tsd-signature-symbol">&gt;</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:64</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
2
+ <p>相机姿态中相机方向变化</p>
3
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>coordinates: <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;longitude&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;latitude&quot;</span><span class="tsd-signature-symbol">&gt;</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
4
+ <p>相机姿态的俯仰角和偏航角</p>
5
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
6
+ <p>是否用户触发</p>
7
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>camera<wbr/>Fov<wbr/>Update<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Fov<wbr/>Update<span class="tsd-signature-symbol">(</span>fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:50</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
8
+ <p>相机姿态中可视角度变化</p>
9
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>fov: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
10
+ <p>相机的可视角度</p>
11
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
12
+ <p>是否用户触发</p>
13
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>camera<wbr/>Position<wbr/>Update<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Position<wbr/>Update<span class="tsd-signature-symbol">(</span>offset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector3</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:57</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
14
+ <p>相机姿态中相机位置变化</p>
15
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offset: <span class="tsd-signature-type">Vector3</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
16
+ <p>相机位置</p>
17
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
18
+ <p>是否用户触发</p>
19
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>camera<wbr/>Update<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">camera<wbr/>Update<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:43</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
20
+ <p>相机姿态变化</p>
21
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
22
+ <p>相机姿态</p>
23
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
24
+ <p>是否用户触发</p>
25
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>error<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:309</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
26
+ <p>抛出错误</p>
27
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
28
+ <p>抛出错误</p>
29
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">gesture<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a>, pointers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:167</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
30
+ <p>手势 触发</p>
31
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>type: <a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
32
+ <p>手势类型</p>
33
+ </div></div></li><li><h5>pointers: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
34
+ <p>手指位置</p>
35
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
36
+ <p>是否手势结束</p>
37
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>init<wbr/>Animation<wbr/>Ended<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">init<wbr/>Animation<wbr/>Ended<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:27</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
38
+ <p>模态间切换动画结束</p>
39
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
40
+ <p>当前点位</p>
41
+ </div></div></li><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
42
+ <p>相机姿态</p>
43
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
44
+ <p>是否用户触发</p>
45
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>init<wbr/>Animation<wbr/>Will<wbr/>Start<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">init<wbr/>Animation<wbr/>Will<wbr/>Start<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:19</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
46
+ <p>模态间切换动画开始</p>
47
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
48
+ <p>当前点位</p>
49
+ </div></div></li><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
50
+ <p>相机姿态</p>
51
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
52
+ <p>是否用户触发</p>
53
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>interia<wbr/>Pan<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">interia<wbr/>Pan<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:197</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
54
+ <p>pan 手势(滑动屏幕) 的惯性运动</p>
55
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
56
+ <p>意图的相机姿态</p>
57
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
58
+ <p>是否手势结束</p>
59
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>intersection<wbr/>Hidden<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">intersection<wbr/>Hidden<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:263</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
60
+ <p>鼠标焦点环被隐藏</p>
61
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>intersection<wbr/>On<wbr/>Model<wbr/>Update<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">intersection<wbr/>On<wbr/>Model<wbr/>Update<span class="tsd-signature-symbol">(</span>intersection<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a>, mesh<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">IntersectMeshInterface</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:253</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
62
+ <p>鼠标焦点环位置被重新计算</p>
63
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>intersection: <a href="../interfaces/five.Intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
64
+ <p>焦点碰撞结果</p>
65
+ </div></div></li><li><h5>mesh: <a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-signature-type" data-tsd-kind="Interface">IntersectMeshInterface</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
66
+ <p>焦点环 mesh</p>
67
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>mouse<wbr/>Wheel<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Wheel<span class="tsd-signature-symbol">(</span>delta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:246</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
68
+ <p>鼠标滚轮被触发</p>
69
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>delta: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
70
+ <p>滚轮数值</p>
71
+ </div></div></li><li><h5>fov: <span class="tsd-signature-type">number</span></h5></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
72
+ <p>是否手势结束</p>
73
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:90</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
74
+ <p>开始加载并移动到某个观察点位</p>
75
+ </div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>可 panoWillArrive 相比</p>
76
+ <ul>
77
+ <li>moveToPano 在加载全景图资源前触发</li>
78
+ <li>panoWillArrive 在加载全景图资源后触发</li>
79
+ </ul>
80
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
81
+ <p>移动到的点位下标</p>
82
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
83
+ <p>是否用户触发</p>
84
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>move<wbr/>To<wbr/>Pano<wbr/>Canceled<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">move<wbr/>To<wbr/>Pano<wbr/>Canceled<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:121</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
85
+ <p>移动到某个观察点位被取消</p>
86
+ </div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>这个有一些情况会导致</p>
87
+ <ul>
88
+ <li>移动过程中切换模态</li>
89
+ <li>移动过程中 five 被析构</li>
90
+ <li>移动过程点击切换到另一个点位</li>
91
+ </ul>
92
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
93
+ <p>对应的点位下标</p>
94
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>moving<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">moving<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, prevPanoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, progress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:149</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
95
+ <p>移动中, 会告知移动状态(耗时百分比)</p>
96
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
97
+ <p>将要移动到的点位下标</p>
98
+ </div></div></li><li><h5>prevPanoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
99
+ <p>上一个点位下标</p>
100
+ </div></div></li><li><h5>progress: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
101
+ <p>整个过程经度 [0-1]</p>
102
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pan<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pan<wbr/>Gesture<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:182</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
103
+ <p>pan 手势(滑动屏幕) 被触发</p>
104
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
105
+ <p>相机姿态</p>
106
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
107
+ <p>是否手势结束</p>
108
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pano<wbr/>Arrived<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Arrived<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:141</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
109
+ <p>移动到某个观察点位</p>
110
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
111
+ <p>移动到点位下标</p>
112
+ </div></div></li><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
113
+ <p>相机姿态</p>
114
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
115
+ <p>是否用户触发</p>
116
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pano<wbr/>Load<wbr/>Error<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Load<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:110</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
117
+ <p>某个观察点的全景资源加载失败</p>
118
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
119
+ <p>错误对象</p>
120
+ </div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
121
+ <p>对应的点位下标</p>
122
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pano<wbr/>Loaded<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Loaded<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:102</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
123
+ <p>某个观察点的全景资源加载完成</p>
124
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
125
+ <p>对应的点位下标</p>
126
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pano<wbr/>Selected<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Selected<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:70</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
127
+ <p>观察点位被选择</p>
128
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
129
+ <p>选择的点位</p>
130
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pano<wbr/>Will<wbr/>Arrive<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Will<wbr/>Arrive<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:133</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
131
+ <p>开始移动到某个观察点位</p>
132
+ </div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>和 moveToPano 相比</p>
133
+ <ul>
134
+ <li>moveToPano 在加载全景图资源前触发</li>
135
+ <li>panoWillArrive 在加载全景图资源后触发</li>
136
+ </ul>
137
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
138
+ <p>移动到点位下标</p>
139
+ </div></div></li><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
140
+ <p>相机姿态</p>
141
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
142
+ <p>是否用户触发</p>
143
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pano<wbr/>Will<wbr/>Load<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pano<wbr/>Will<wbr/>Load<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:96</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
144
+ <p>开始加载某个观察点的全景资源</p>
145
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
146
+ <p>移动到的点位下标</p>
147
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>pinch<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">pinch<wbr/>Gesture<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:229</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
148
+ <p>pinch 手势(双指缩放) 被触发</p>
149
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>scale: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
150
+ <p>缩放数值</p>
151
+ </div></div></li><li><h5>fov: <span class="tsd-signature-type">number</span></h5></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
152
+ <p>是否手势结束</p>
153
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>tap<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">tap<wbr/>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:212</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
154
+ <p>tap 手势(点击屏幕) 被触发</p>
155
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
156
+ <p>点击对应的三维射线</p>
157
+ </div></div></li><li><h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
158
+ <p>点击对应的屏幕位置</p>
159
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>texture<wbr/>Abort<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Abort<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:288</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
160
+ <p>观察点的全景资源加载被中止</p>
161
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
162
+ <p>加载点位下标</p>
163
+ </div></div></li><li><h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
164
+ <p>对应的 observer 详情</p>
165
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>texture<wbr/>Error<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:296</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
166
+ <p>观察点的全景资源加载失败</p>
167
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
168
+ <p>错误对象</p>
169
+ </div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
170
+ <p>加载点位下标</p>
171
+ </div></div></li><li><h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
172
+ <p>对应的 observer 详情</p>
173
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>texture<wbr/>Loaded<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Loaded<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a>, meta<span class="tsd-signature-symbol">: </span><a href="five.html#NetWorkMeta" class="tsd-signature-type" data-tsd-kind="Type alias">NetWorkMeta</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:303</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
174
+ <p>观察点的全景资源加载完成</p>
175
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
176
+ <p>加载点位下标</p>
177
+ </div></div></li><li><h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
178
+ <p>对应的 observer 详情</p>
179
+ </div></div></li><li><h5>meta: <a href="five.html#NetWorkMeta" class="tsd-signature-type" data-tsd-kind="Type alias">NetWorkMeta</a><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>texture<wbr/>Loading<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Loading<span class="tsd-signature-symbol">(</span>progress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:281</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
180
+ <p>观察点的全景资源加载中,可获取到进度</p>
181
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>progress: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
182
+ <p>加载进度 [0-1]</p>
183
+ </div></div></li><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
184
+ <p>加载点位下标</p>
185
+ </div></div></li><li><h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
186
+ <p>对应的 observer 详情</p>
187
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>texture<wbr/>Start<wbr/>Load<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">texture<wbr/>Start<wbr/>Load<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, observer<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:273</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
188
+ <p>观察点的全景资源开始加载</p>
189
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
190
+ <p>加载点位下标</p>
191
+ </div></div></li><li><h5>observer: <a href="../interfaces/five.WorkObserver.html" class="tsd-signature-type" data-tsd-kind="Interface">WorkObserver</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
192
+ <p>对应的 observer 详情</p>
193
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>vr<wbr/>Wants<wbr/>To<wbr/>Exit<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">vr<wbr/>Wants<wbr/>To<wbr/>Exit<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:266</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
194
+ <p>意图要退出VR眼镜模式</p>
195
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Change<wbr/>Camera<wbr/>Fov<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Change<wbr/>Camera<wbr/>Fov<span class="tsd-signature-symbol">(</span>fov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:36</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
196
+ <p>意图要变化相机的可视角度 可以通过 <code>return false</code> 阻止</p>
197
+ </div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>建议通过 初始化设置的 <code>defaultFov</code>, <code>maxFov</code>, <code>minFov</code> 来限制</p>
198
+ </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>fov: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
199
+ <p>意图要变化相机的可视角度</p>
200
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
201
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Gesture<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a>, pointers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:159</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
202
+ <p>意图要触发手势, 可以通过 <code>return false</code> 阻止</p>
203
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>type: <a href="five.html#GestureTypes" class="tsd-signature-type" data-tsd-kind="Type alias">GestureTypes</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
204
+ <p>手势类型</p>
205
+ </div></div></li><li><h5>pointers: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
206
+ <p>手指位置</p>
207
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
208
+ <p>是否手势结束</p>
209
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
210
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Interia<wbr/>Pan<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Interia<wbr/>Pan<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:190</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
211
+ <p>意图要触发 pan 手势(滑动屏幕) 的惯性运动, 可以通过 <code>return false</code> 阻止</p>
212
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
213
+ <p>意图的相机姿态</p>
214
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
215
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Mouse<wbr/>Wheel<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Mouse<wbr/>Wheel<span class="tsd-signature-symbol">(</span>delta<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, nextFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:238</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
216
+ <p>意图要触发 鼠标滚轮 可以通过 <code>return false</code> 阻止</p>
217
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>delta: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
218
+ <p>滚轮数值</p>
219
+ </div></div></li><li><h5>nextFov: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
220
+ <p>意图的fov变更</p>
221
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
222
+ <p>是否手势结束</p>
223
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
224
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Move<wbr/>To<wbr/>Pano<span class="tsd-signature-symbol">(</span>panoIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a>, userAction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:79</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
225
+ <p>意图要移动到某个点位 可以通过 <code>return false</code> 阻止</p>
226
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>panoIndex: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
227
+ <p>图要移动到的点位下标</p>
228
+ </div></div></li><li><h5>options: <a href="../interfaces/five.MovePanoOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MovePanoOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
229
+ <p>移动参数</p>
230
+ </div></div></li><li><h5>userAction: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
231
+ <p>是否用户触发</p>
232
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
233
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Pan<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Pan<wbr/>Gesture<span class="tsd-signature-symbol">(</span>pose<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:175</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
234
+ <p>意图要触发 pan 手势(滑动屏幕), 可以通过 <code>return false</code> 阻止</p>
235
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>pose: <a href="../interfaces/five.Pose.html" class="tsd-signature-type" data-tsd-kind="Interface">Pose</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
236
+ <p>意图的相机姿态</p>
237
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
238
+ <p>是否手势结束</p>
239
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
240
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Pinch<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Pinch<wbr/>Gesture<span class="tsd-signature-symbol">(</span>scale<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, nextFov<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, final<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:221</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
241
+ <p>意图要触发 pinch 手势(双指缩放),可以通过 <code>return false</code> 阻止</p>
242
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>scale: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
243
+ <p>缩放数值</p>
244
+ </div></div></li><li><h5>nextFov: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
245
+ <p>意图的fov变更</p>
246
+ </div></div></li><li><h5>final: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
247
+ <p>是否手势结束</p>
248
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
249
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Show<wbr/>Intersection<wbr/>On<wbr/>Model<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:260</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
250
+ <p>意图要展示鼠标焦点环,可以通过 <code>return false</code> 阻止</p>
251
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
252
+ </div></li></ul></li><li class="tsd-parameter"><h5>wants<wbr/>Tap<wbr/>Gesture<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">wants<wbr/>Tap<wbr/>Gesture<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, tapPosition<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:205</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
253
+ <p>意图要触发 tap 手势(点击屏幕), 可以通过 <code>return false</code> 阻止</p>
254
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
255
+ <p>点击对应的三维射线</p>
256
+ </div></div></li><li><h5>tapPosition: <span class="tsd-signature-type">Vector2</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
257
+ <p>点击对应的屏幕位置</p>
258
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">void</span></h4><div><p>可以通过 <code>return false</code> 阻止</p>
259
+ </div></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="EventTypes" class="tsd-anchor"></a><h3>Event<wbr/>Types</h3><div class="tsd-signature tsd-kind-icon">Event<wbr/>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="five.html#ControllerEventTypes" class="tsd-signature-type" data-tsd-kind="Type alias">ControllerEventTypes</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">typeof </span><a href="five.html#PROXY_CONTROLLER_EVENT_NAMES" class="tsd-signature-type" data-tsd-kind="Variable">PROXY_CONTROLLER_EVENT_NAMES</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span>currentStateChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>dispose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>fps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>helpersVisibleChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>load<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>loaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modeChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelBvhLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelGeometryLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelLoadError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelMaterialLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelShownFloorChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>modelWillLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>network<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>renderFrame<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>setState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>stateChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>stateSynced<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsChangeMode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsMoveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>wantsToMoveToPano<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>willLoad<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/events.ts:52</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
260
+ <p>Five 事件列表</p>
261
+ </div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>具体事件列表 请查看 <a href="../interfaces/five.EventCallback.html">EventCallback</a></p>
262
+ </dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a id="FivePlugin" class="tsd-anchor"></a><h3>Five<wbr/>Plugin</h3><div class="tsd-signature tsd-kind-icon">Five<wbr/>Plugin<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">Parameters</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">Returns</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type" data-tsd-kind="Type parameter">Parameters</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> ? </span><span class="tsd-signature-symbol">(</span>five<span class="tsd-signature-symbol">: </span><a href="../classes/five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">Returns</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-symbol">(</span>five<span class="tsd-signature-symbol">: </span><a href="../classes/five.Five.html" class="tsd-signature-type" data-tsd-kind="Class">Five</a>, parameters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">Parameters</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">Returns</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/types/plugin.ts:9</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
263
+ <p>Five 插件</p>
1806
264
 
1807
- <span style="color: #000000"> </span><span style="color: #001080">five</span><span style="color: #000000">.</span><span style="color: #795E26">on</span><span style="color: #000000">(</span><span style="color: #A31515">&quot;tapGesture&quot;</span><span style="color: #000000">, () </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> {</span>
1808
- <span style="color: #000000"> </span><span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">message</span><span style="color: #000000">);</span>
1809
- <span style="color: #000000"> </span><span style="color: #001080">list</span><span style="color: #000000">.</span><span style="color: #795E26">push</span><span style="color: #000000">(</span><span style="color: #A31515">`</span><span style="color: #0000FF">${</span><span style="color: #0000FF">new</span><span style="color: #000000FF"> </span><span style="color: #267F99">Date</span><span style="color: #000000FF">().</span><span style="color: #795E26">toUTCString</span><span style="color: #000000FF">()</span><span style="color: #0000FF">}</span><span style="color: #A31515"> </span><span style="color: #0000FF">${</span><span style="color: #001080">message</span><span style="color: #0000FF">}</span><span style="color: #A31515">`</span><span style="color: #000000">);</span>
1810
- <span style="color: #000000"> });</span>
265
+ <a href="#插件-plugins" id="插件-plugins" style="color: inherit; text-decoration: none;">
266
+ <h1>插件 Plugins</h1>
267
+ </a>
268
+ <blockquote>
269
+ <p>Five 提供了工厂模式的插件机制,
270
+ 提供了 FivePlugin FivePluginInstance FivePluginInits 接口来帮助创建和使用插件</p>
271
+ </blockquote>
1811
272
 
1812
- <span style="color: #000000"> </span><span style="color: #AF00DB">return</span><span style="color: #000000"> { </span><span style="color: #795E26">getHistory</span><span style="color: #001080">:</span><span style="color: #000000"> () </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> </span><span style="color: #001080">list</span><span style="color: #000000">.</span><span style="color: #795E26">slice</span><span style="color: #000000">() };</span>
1813
- <span style="color: #000000">};</span>
273
+ <a href="#插件的作用" id="插件的作用" style="color: inherit; text-decoration: none;">
274
+ <h2>插件的作用</h2>
275
+ </a>
276
+ <ol>
277
+ <li>插件即是将一些通用的对于 five 的操作的一些复用的抽象。</li>
278
+ <li>可以通过插件来组织代码,减少逻辑依赖。</li>
279
+ </ol>
1814
280
 
281
+ <a href="#创建插件" id="创建插件" style="color: inherit; text-decoration: none;">
282
+ <h2>创建插件</h2>
283
+ </a>
284
+ <pre><code><span class="hl-2">mkdir</span><span class="hl-0"> </span><span class="hl-2">a</span><span class="hl-0">-</span><span class="hl-2">five</span><span class="hl-0">-</span><span class="hl-2">plugin</span><br/><span class="hl-2">npm</span><span class="hl-0"> </span><span class="hl-2">init</span><span class="hl-0"> -</span><span class="hl-2">y</span><br/><span class="hl-2">npm</span><span class="hl-0"> </span><span class="hl-2">install</span><span class="hl-0"> @</span><span class="hl-2">realsee</span><span class="hl-0">/</span><span class="hl-2">five</span><br/><span class="hl-2">npx</span><span class="hl-0"> </span><span class="hl-2">five</span><span class="hl-0">-</span><span class="hl-2">plugin</span><span class="hl-0">-</span><span class="hl-2">init</span>
1815
285
  </code></pre>
1816
- <ul>
1817
- <li>工厂函数的参数是 five 实例 以及对应的插件需要的参数, 参数使用后面在插件初始化中详细说明。</li>
1818
- <li>工厂函数的返回将在 five.plugis 中取到,后面会详细说明。</li>
1819
- </ul>
1820
- <a href="#插件初始化" id="插件初始化" style="color: inherit; text-decoration: none;">
1821
- <h3>插件初始化</h3>
1822
- </a>
1823
- <a href="#类型说明-1" id="类型说明-1" style="color: inherit; text-decoration: none;">
1824
- <h3>类型说明</h3>
1825
- </a>
1826
- <pre><code><span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">FivePluginInit</span><span style="color: #000000">&lt;</span><span style="color: #267F99">FivePlugin</span><span style="color: #000000">&gt;</span>
1827
- </code></pre>
1828
- <a href="#简单例子-1" id="简单例子-1" style="color: inherit; text-decoration: none;">
1829
- <h3>简单例子</h3>
1830
- </a>
1831
- <blockquote>
1832
- <p>就上面 TapRecordPlugin 的例子来初始化插件</p>
1833
- </blockquote>
1834
- <pre><code class="language-typescript"><span style="color: #AF00DB">import</span><span style="color: #000000"> </span><span style="color: #001080">Five</span><span style="color: #000000">, { </span><span style="color: #001080">FivePluginInits</span><span style="color: #000000"> } </span><span style="color: #AF00DB">from</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;@realsee/five&quot;</span><span style="color: #000000">;</span>
1835
286
 
1836
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">five</span><span style="color: #000000"> = </span><span style="color: #0000FF">new</span><span style="color: #000000"> </span><span style="color: #795E26">Five</span><span style="color: #000000">({</span>
1837
- <span style="color: #000000"> </span><span style="color: #001080">plugins:</span><span style="color: #000000"> [</span>
1838
- <span style="color: #000000"> [</span>
1839
- <span style="color: #000000"> </span><span style="color: #008000">// 插件</span>
1840
- <span style="color: #000000"> </span><span style="color: #001080">TapRecordPlugin</span><span style="color: #000000">,</span>
287
+ <a href="#项目目录" id="项目目录" style="color: inherit; text-decoration: none;">
288
+ <h2>项目目录</h2>
289
+ </a>
290
+ <pre><code><span class="hl-0">.</span><br/><span class="hl-0">├── </span><span class="hl-6">README</span><span class="hl-0">.</span><span class="hl-2">md</span><br/><span class="hl-0">├── </span><span class="hl-2">devtools</span><br/><span class="hl-0">│ ├── </span><span class="hl-2">external</span><span class="hl-0">-</span><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-2">js</span><br/><span class="hl-0">│ ├── </span><span class="hl-2">external</span><span class="hl-0">-</span><span class="hl-2">three</span><span class="hl-0">.</span><span class="hl-2">js</span><br/><span class="hl-0">│ ├── </span><span class="hl-2">tsconfig</span><span class="hl-0">.</span><span class="hl-2">build</span><span class="hl-0">.</span><span class="hl-2">json</span><br/><span class="hl-0">│ ├── </span><span class="hl-2">webpack</span><span class="hl-0">.</span><span class="hl-2">bundle</span><span class="hl-0">.</span><span class="hl-2">js</span><br/><span class="hl-0">│ └── </span><span class="hl-2">webpack</span><span class="hl-0">.</span><span class="hl-2">example</span><span class="hl-0">.</span><span class="hl-2">js</span><br/><span class="hl-0">├── </span><span class="hl-2">docs</span><br/><span class="hl-0">├── </span><span class="hl-2">examples</span><br/><span class="hl-0">│ ├── </span><span class="hl-2">data</span><span class="hl-0">.</span><span class="hl-2">json</span><br/><span class="hl-0">│ ├── </span><span class="hl-2">index</span><span class="hl-0">.</span><span class="hl-2">html</span><br/><span class="hl-0">│ └── </span><span class="hl-2">index</span><span class="hl-0">.</span><span class="hl-2">ts</span><br/><span class="hl-0">├── </span><span class="hl-2">lib</span><br/><span class="hl-0">│ └── </span><span class="hl-2">index</span><span class="hl-0">.</span><span class="hl-2">ts</span><br/><span class="hl-0">├── </span><span class="hl-2">package</span><span class="hl-0">.</span><span class="hl-2">json</span><br/><span class="hl-0">└── </span><span class="hl-2">tsconfig</span><span class="hl-0">.</span><span class="hl-2">json</span>
291
+ </code></pre>
1841
292
 
1842
- <span style="color: #000000"> </span><span style="color: #008000">// 插件对象在 five.plugins 中的命名实例名称,</span>
1843
- <span style="color: #000000"> </span><span style="color: #008000">// 比如这个就是通过 five.plguins.tapRecord 获取到插件实例</span>
1844
- <span style="color: #000000"> </span><span style="color: #A31515">&quot;tapRecord&quot;</span><span style="color: #000000">,</span>
293
+ <a href="#npm-script" id="npm-script" style="color: inherit; text-decoration: none;">
294
+ <h2>npm script</h2>
295
+ </a>
296
+ <ul>
297
+ <li><code>example</code>: 开发环境,编译 example 下的 index.ts, 监听变化,并且开启端口监听,可以通过 <code>localhost:8080</code> 访问</li>
298
+ <li><code>build:doc</code>: 通过 typedoc 生成项目文档,生成目标在 <code>docs</code> 目录下</li>
299
+ <li><code>build:typescript</code>: 通过 <code>tsc</code> 编译 ts 代码,生成目标在 <code>build</code> 目录下</li>
300
+ <li><code>build:bundle</code>: 通过 <code>webpack</code> 编译 unpack 包, 生成目标在 <code>bundle</code> 目录下</li>
301
+ <li><code>build:all</code>: <code>npm run build:doc &amp;&amp; npm run build:typescript &amp;&amp; &amp;&amp; npm run build:example &amp;&amp; npm run build:bundle</code></li>
302
+ </ul>
1845
303
 
1846
- <span style="color: #000000"> </span><span style="color: #008000">// 插件参数,必须符合 TapRecordPluginParameter 的生命</span>
1847
- <span style="color: #000000"> </span><span style="color: #A31515">&quot;tap!&quot;</span>
1848
- <span style="color: #000000"> ] </span><span style="color: #AF00DB">as</span><span style="color: #000000"> </span><span style="color: #267F99">FivePluginInit</span><span style="color: #000000">&lt;</span><span style="color: #0000FF">typeof</span><span style="color: #000000"> </span><span style="color: #001080">TapRecordPlugin</span><span style="color: #000000">&gt;</span>
1849
- <span style="color: #000000"> ]</span>
1850
- <span style="color: #000000">});</span>
304
+ <a href="#编译配置" id="编译配置" style="color: inherit; text-decoration: none;">
305
+ <h2>编译配置</h2>
306
+ </a>
307
+ <p>编译配置均在 devtools 目录下, 可以自行修改配置</p>
308
+ <ul>
309
+ <li>ts 的编译参数在 <code>devtools/tsconfig.build.json</code> 下</li>
310
+ <li>bundle 的 webpack 配置在 <code>devtools/webpack.bundle.js</code> 下</li>
311
+ </ul>
1851
312
 
1852
- <span style="color: #008000">// five.load(...)</span>
313
+ <a href="#发布" id="发布" style="color: inherit; text-decoration: none;">
314
+ <h2>发布</h2>
315
+ </a>
316
+ <ul>
317
+ <li>往 npm 发布,默认发布的入口文件在 <code>build/index.js</code>, 即通过 tsc 编译得到的代码。你可以在 <code>package.json</code> 中修改。</li>
318
+ <li>bundle 包发布,可以直接使用 <code>build:bundle</code> 生成的结果。</li>
319
+ </ul>
1853
320
 
321
+ <a href="#类型说明" id="类型说明" style="color: inherit; text-decoration: none;">
322
+ <h3>类型说明</h3>
323
+ </a>
324
+ <pre><code class="language-typescript"><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">FivePlugin</span><span class="hl-0">&lt;</span><span class="hl-8">Parameters</span><span class="hl-0">, </span><span class="hl-8">Returns</span><span class="hl-0">&gt;;</span>
1854
325
  </code></pre>
1855
- <ul>
1856
- <li>需要使用 <code>as FivePluginInit</code> 的方法声明,否则无法约束参数</li>
1857
- <li>第一个参数必须唯一的,不要出现插件间冲突</li>
1858
- </ul>
1859
- <a href="#使用插件实例" id="使用插件实例" style="color: inherit; text-decoration: none;">
1860
- <h2>使用插件实例</h2>
1861
- </a>
1862
- <pre><code><span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">FivePluginInstance</span><span style="color: #000000">&lt;</span><span style="color: #267F99">FivePlugin</span><span style="color: #000000">&gt;;</span>
1863
- </code></pre>
1864
- <p>简单例子
1865
- 就上面 TapRecordPlugin 的例子来获取历时点击列表</p>
1866
- <pre><code class="language-typescript"><span style="color: #AF00DB">import</span><span style="color: #000000"> { </span><span style="color: #001080">FivePluginInstance</span><span style="color: #000000"> } </span><span style="color: #AF00DB">from</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;@realsee/five&quot;</span><span style="color: #000000">;</span>
326
+ <ul>
327
+ <li>Parameters 插件定义的参数</li>
328
+ <li>Returns 插件返回的实例</li>
329
+ </ul>
1867
330
 
1868
- <span style="color: #008000">// five.plugins.tapRecord 可以获取到插件实例 &quot;tapRecord&quot; 是插件初始化声明确定的</span>
1869
- <span style="color: #008000">// 通过 FivePluginInstance 在约束类型,否则均为 any</span>
1870
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">tapRecord</span><span style="color: #000000">: </span><span style="color: #267F99">FivePluginInstance</span><span style="color: #000000">&lt;</span><span style="color: #0000FF">typeof</span><span style="color: #000000"> </span><span style="color: #001080">TapRecordPlugin</span><span style="color: #000000">&gt; = </span><span style="color: #001080">five</span><span style="color: #000000">.</span><span style="color: #001080">plugins</span><span style="color: #000000">.</span><span style="color: #001080">tapRecord</span><span style="color: #000000">;</span>
1871
-
1872
- <span style="color: #008000">// 现在就可以获取到历时列表了</span>
1873
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">getHistory</span><span style="color: #000000">: </span><span style="color: #267F99">string</span><span style="color: #000000">[] = </span><span style="color: #001080">tapRecord</span><span style="color: #000000">.</span><span style="color: #795E26">getHistory</span><span style="color: #000000">();</span>
1874
-
1875
- <span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">getHistory</span><span style="color: #000000">);</span>
331
+ <a href="#简单例子" id="简单例子" style="color: inherit; text-decoration: none;">
332
+ <h3>简单例子</h3>
333
+ </a>
334
+ <blockquote>
335
+ <p>这是一个在当five显示界面被点击时 打印 &quot;tap!&quot; 的一个简单插件, 并且可以拉取历史列表</p>
336
+ </blockquote>
337
+ <pre><code class="language-typescript"><span class="hl-1">import</span><span class="hl-0"> { </span><span class="hl-2">FivePlugin</span><span class="hl-0"> } </span><span class="hl-1">from</span><span class="hl-0"> </span><span class="hl-3">&quot;@realsee/five&quot;</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// 打印的内容</span><br/><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">TapRecordPluginParameter</span><span class="hl-0"> = </span><span class="hl-8">string</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// 实例方法</span><br/><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">TapRecordPluginReturns</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-4">// 一个返回历史列表的防范</span><br/><span class="hl-0"> </span><span class="hl-5">getHistory</span><span class="hl-0">: () </span><span class="hl-7">=&gt;</span><span class="hl-0"> </span><span class="hl-8">string</span><span class="hl-0">[]</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">TapRecordPlugin</span><span class="hl-0">: </span><span class="hl-8">FivePlugin</span><span class="hl-0">&lt;</span><br/><span class="hl-0"> </span><span class="hl-8">TapRecordPluginParameter</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-8">TapRecordPluginReturns</span><br/><span class="hl-0">&gt; = (</span><span class="hl-2">five</span><span class="hl-0">, </span><span class="hl-2">message</span><span class="hl-0"> = </span><span class="hl-3">&quot;tap!&quot;</span><span class="hl-0">) </span><span class="hl-7">=&gt;</span><span class="hl-0"> {</span><br/><br/><span class="hl-0"> </span><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">list</span><span class="hl-0">: </span><span class="hl-8">string</span><span class="hl-0">[] = [];</span><br/><br/><span class="hl-0"> </span><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-3">&quot;tapGesture&quot;</span><span class="hl-0">, () </span><span class="hl-7">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-2">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-2">message</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-2">list</span><span class="hl-0">.</span><span class="hl-5">push</span><span class="hl-0">(</span><span class="hl-3">`</span><span class="hl-7">${</span><span class="hl-7">new</span><span class="hl-11"> </span><span class="hl-8">Date</span><span class="hl-11">().</span><span class="hl-5">toUTCString</span><span class="hl-11">()</span><span class="hl-7">}</span><span class="hl-3"> </span><span class="hl-7">${</span><span class="hl-2">message</span><span class="hl-7">}</span><span class="hl-3">`</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-1">return</span><span class="hl-0"> { </span><span class="hl-5">getHistory</span><span class="hl-2">:</span><span class="hl-0"> () </span><span class="hl-7">=&gt;</span><span class="hl-0"> </span><span class="hl-2">list</span><span class="hl-0">.</span><span class="hl-5">slice</span><span class="hl-0">() };</span><br/><span class="hl-0">};</span><br/>
1876
338
  </code></pre>
1877
- <a href="#回顾整体的例子" id="回顾整体的例子" style="color: inherit; text-decoration: none;">
1878
- <h3>回顾整体的例子</h3>
1879
- </a>
1880
- <pre><code class="language-typescript"><span style="color: #AF00DB">import</span><span style="color: #000000"> </span><span style="color: #001080">Five</span><span style="color: #000000">, { </span><span style="color: #001080">FivePlugin</span><span style="color: #000000">, </span><span style="color: #001080">FivePluginInit</span><span style="color: #000000">, </span><span style="color: #001080">FivePluginInstance</span><span style="color: #000000"> } </span><span style="color: #AF00DB">from</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;@realsee/five&quot;</span><span style="color: #000000">;</span>
1881
-
1882
- <span style="color: #008000">// 打印的内容</span>
1883
- <span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginParameter</span><span style="color: #000000"> = </span><span style="color: #267F99">string</span><span style="color: #000000">;</span>
339
+ <ul>
340
+ <li>工厂函数的参数是 five 实例 以及对应的插件需要的参数, 参数使用后面在插件初始化中详细说明。</li>
341
+ <li>工厂函数的返回将在 five.plugis 中取到,后面会详细说明。</li>
342
+ </ul>
1884
343
 
1885
- <span style="color: #008000">// 实例方法</span>
1886
- <span style="color: #0000FF">type</span><span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginReturns</span><span style="color: #000000"> = {</span>
1887
- <span style="color: #000000"> </span><span style="color: #008000">// 一个返回历史列表的防范</span>
1888
- <span style="color: #000000"> </span><span style="color: #795E26">getHistory</span><span style="color: #000000">: () </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> </span><span style="color: #267F99">string</span><span style="color: #000000">[]</span>
1889
- <span style="color: #000000">};</span>
344
+ <a href="#插件初始化" id="插件初始化" style="color: inherit; text-decoration: none;">
345
+ <h3>插件初始化</h3>
346
+ </a>
1890
347
 
1891
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">TapRecordPlugin</span><span style="color: #000000">: </span><span style="color: #267F99">FivePlugin</span><span style="color: #000000">&lt;</span>
1892
- <span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginParameter</span><span style="color: #000000">,</span>
1893
- <span style="color: #000000"> </span><span style="color: #267F99">TapRecordPluginReturns</span>
1894
- <span style="color: #000000">&gt; = (</span><span style="color: #001080">five</span><span style="color: #000000">, </span><span style="color: #001080">message</span><span style="color: #000000"> = </span><span style="color: #A31515">&quot;tap!&quot;</span><span style="color: #000000">) </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> {</span>
1895
-
1896
- <span style="color: #000000"> </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">list</span><span style="color: #000000">: </span><span style="color: #267F99">string</span><span style="color: #000000">[] = [];</span>
1897
-
1898
- <span style="color: #000000"> </span><span style="color: #001080">five</span><span style="color: #000000">.</span><span style="color: #795E26">on</span><span style="color: #000000">(</span><span style="color: #A31515">&quot;tapGesture&quot;</span><span style="color: #000000">, () </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> {</span>
1899
- <span style="color: #000000"> </span><span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">message</span><span style="color: #000000">);</span>
1900
- <span style="color: #000000"> </span><span style="color: #001080">list</span><span style="color: #000000">.</span><span style="color: #795E26">push</span><span style="color: #000000">(</span><span style="color: #A31515">`</span><span style="color: #0000FF">${</span><span style="color: #0000FF">new</span><span style="color: #000000FF"> </span><span style="color: #267F99">Date</span><span style="color: #000000FF">().</span><span style="color: #795E26">toUTCString</span><span style="color: #000000FF">()</span><span style="color: #0000FF">}</span><span style="color: #A31515"> </span><span style="color: #0000FF">${</span><span style="color: #001080">message</span><span style="color: #0000FF">}</span><span style="color: #A31515">`</span><span style="color: #000000">);</span>
1901
- <span style="color: #000000"> });</span>
1902
-
1903
- <span style="color: #000000"> </span><span style="color: #AF00DB">return</span><span style="color: #000000"> { </span><span style="color: #795E26">getHistory</span><span style="color: #001080">:</span><span style="color: #000000"> () </span><span style="color: #0000FF">=&gt;</span><span style="color: #000000"> </span><span style="color: #001080">list</span><span style="color: #000000">.</span><span style="color: #795E26">slice</span><span style="color: #000000">() };</span>
1904
- <span style="color: #000000">};</span>
1905
-
1906
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">five</span><span style="color: #000000"> = </span><span style="color: #0000FF">new</span><span style="color: #000000"> </span><span style="color: #795E26">Five</span><span style="color: #000000">({</span>
1907
- <span style="color: #000000"> </span><span style="color: #001080">plugins:</span><span style="color: #000000"> [</span>
1908
- <span style="color: #000000"> [</span>
1909
- <span style="color: #000000"> </span><span style="color: #008000">// 插件对象在 five.plugins 中的命名实例名称,</span>
1910
- <span style="color: #000000"> </span><span style="color: #008000">// 比如这个就是通过 five.plguins.tapRecord 获取到插件实例</span>
1911
- <span style="color: #000000"> </span><span style="color: #A31515">&quot;tapRecord&quot;</span><span style="color: #000000">,</span>
1912
-
1913
- <span style="color: #000000"> </span><span style="color: #008000">// 插件</span>
1914
- <span style="color: #000000"> </span><span style="color: #001080">TapRecordPlugin</span><span style="color: #000000">,</span>
1915
-
1916
- <span style="color: #000000"> </span><span style="color: #008000">// 插件参数,必须符合 TapRecordPluginParameter 的生命</span>
1917
- <span style="color: #000000"> </span><span style="color: #A31515">&quot;tap!&quot;</span>
1918
- <span style="color: #000000"> ] </span><span style="color: #AF00DB">as</span><span style="color: #000000"> </span><span style="color: #267F99">FivePluginInit</span><span style="color: #000000">&lt;</span><span style="color: #0000FF">typeof</span><span style="color: #000000"> </span><span style="color: #001080">TapRecordPlugin</span><span style="color: #000000">&gt;</span>
1919
- <span style="color: #000000"> ]</span>
1920
- <span style="color: #000000">});</span>
1921
-
1922
- <span style="color: #008000">// five.load(...)</span>
348
+ <a href="#类型说明-1" id="类型说明-1" style="color: inherit; text-decoration: none;">
349
+ <h3>类型说明</h3>
350
+ </a>
351
+ <pre><code><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">FivePluginInit</span><span class="hl-0">&lt;</span><span class="hl-8">FivePlugin</span><span class="hl-0">&gt;</span>
352
+ </code></pre>
1923
353
 
1924
- <span style="color: #008000">// five.plugins.tapRecord 可以获取到插件实例 &quot;tapRecord&quot; 是插件初始化声明确定的</span>
1925
- <span style="color: #008000">// 通过 FivePluginInstance 在约束类型,否则均为 any</span>
1926
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">tapRecord</span><span style="color: #000000">: </span><span style="color: #267F99">FivePluginInstance</span><span style="color: #000000">&lt;</span><span style="color: #0000FF">typeof</span><span style="color: #000000"> </span><span style="color: #001080">TapRecordPlugin</span><span style="color: #000000">&gt; = </span><span style="color: #001080">five</span><span style="color: #000000">.</span><span style="color: #001080">plugins</span><span style="color: #000000">.</span><span style="color: #001080">tapRecord</span><span style="color: #000000">;</span>
354
+ <a href="#简单例子-1" id="简单例子-1" style="color: inherit; text-decoration: none;">
355
+ <h3>简单例子</h3>
356
+ </a>
357
+ <blockquote>
358
+ <p>就上面 TapRecordPlugin 的例子来初始化插件</p>
359
+ </blockquote>
360
+ <pre><code class="language-typescript"><span class="hl-1">import</span><span class="hl-0"> </span><span class="hl-2">Five</span><span class="hl-0">, { </span><span class="hl-2">FivePluginInits</span><span class="hl-0"> } </span><span class="hl-1">from</span><span class="hl-0"> </span><span class="hl-3">&quot;@realsee/five&quot;</span><span class="hl-0">;</span><br/><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">five</span><span class="hl-0"> = </span><span class="hl-7">new</span><span class="hl-0"> </span><span class="hl-5">Five</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-2">plugins:</span><span class="hl-0"> [</span><br/><span class="hl-0"> [</span><br/><span class="hl-0"> </span><span class="hl-4">// 插件</span><br/><span class="hl-0"> </span><span class="hl-2">TapRecordPlugin</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-4">// 插件对象在 five.plugins 中的命名实例名称,</span><br/><span class="hl-0"> </span><span class="hl-4">// 比如这个就是通过 five.plguins.tapRecord 获取到插件实例</span><br/><span class="hl-0"> </span><span class="hl-3">&quot;tapRecord&quot;</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-4">// 插件参数,必须符合 TapRecordPluginParameter 的生命</span><br/><span class="hl-0"> </span><span class="hl-3">&quot;tap!&quot;</span><br/><span class="hl-0"> ] </span><span class="hl-1">as</span><span class="hl-0"> </span><span class="hl-8">FivePluginInit</span><span class="hl-0">&lt;</span><span class="hl-7">typeof</span><span class="hl-0"> </span><span class="hl-2">TapRecordPlugin</span><span class="hl-0">&gt;</span><br/><span class="hl-0"> ]</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-4">// five.load(...)</span><br/>
361
+ </code></pre>
362
+ <ul>
363
+ <li>需要使用 <code>as FivePluginInit</code> 的方法声明,否则无法约束参数</li>
364
+ <li>第一个参数必须唯一的,不要出现插件间冲突</li>
365
+ </ul>
1927
366
 
1928
- <span style="color: #008000">// 现在就可以获取到历时列表了</span>
1929
- <span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">getHistory</span><span style="color: #000000">: </span><span style="color: #267F99">string</span><span style="color: #000000">[] = </span><span style="color: #001080">tapRecord</span><span style="color: #000000">.</span><span style="color: #795E26">getHistory</span><span style="color: #000000">();</span>
367
+ <a href="#使用插件实例" id="使用插件实例" style="color: inherit; text-decoration: none;">
368
+ <h2>使用插件实例</h2>
369
+ </a>
370
+ <pre><code><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">FivePluginInstance</span><span class="hl-0">&lt;</span><span class="hl-8">FivePlugin</span><span class="hl-0">&gt;;</span>
371
+ </code></pre>
372
+ <p>简单例子
373
+ 就上面 TapRecordPlugin 的例子来获取历时点击列表</p>
374
+ <pre><code class="language-typescript"><span class="hl-1">import</span><span class="hl-0"> { </span><span class="hl-2">FivePluginInstance</span><span class="hl-0"> } </span><span class="hl-1">from</span><span class="hl-0"> </span><span class="hl-3">&quot;@realsee/five&quot;</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// five.plugins.tapRecord 可以获取到插件实例 &quot;tapRecord&quot; 是插件初始化声明确定的</span><br/><span class="hl-4">// 通过 FivePluginInstance 在约束类型,否则均为 any</span><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">tapRecord</span><span class="hl-0">: </span><span class="hl-8">FivePluginInstance</span><span class="hl-0">&lt;</span><span class="hl-7">typeof</span><span class="hl-0"> </span><span class="hl-2">TapRecordPlugin</span><span class="hl-0">&gt; = </span><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-2">plugins</span><span class="hl-0">.</span><span class="hl-2">tapRecord</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// 现在就可以获取到历时列表了</span><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">getHistory</span><span class="hl-0">: </span><span class="hl-8">string</span><span class="hl-0">[] = </span><span class="hl-2">tapRecord</span><span class="hl-0">.</span><span class="hl-5">getHistory</span><span class="hl-0">();</span><br/><br/><span class="hl-2">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-2">getHistory</span><span class="hl-0">);</span>
375
+ </code></pre>
1930
376
 
1931
- <span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">getHistory</span><span style="color: #000000">);</span>
377
+ <a href="#回顾整体的例子" id="回顾整体的例子" style="color: inherit; text-decoration: none;">
378
+ <h3>回顾整体的例子</h3>
379
+ </a>
380
+ <pre><code class="language-typescript"><span class="hl-1">import</span><span class="hl-0"> </span><span class="hl-2">Five</span><span class="hl-0">, { </span><span class="hl-2">FivePlugin</span><span class="hl-0">, </span><span class="hl-2">FivePluginInit</span><span class="hl-0">, </span><span class="hl-2">FivePluginInstance</span><span class="hl-0"> } </span><span class="hl-1">from</span><span class="hl-0"> </span><span class="hl-3">&quot;@realsee/five&quot;</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// 打印的内容</span><br/><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">TapRecordPluginParameter</span><span class="hl-0"> = </span><span class="hl-8">string</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// 实例方法</span><br/><span class="hl-7">type</span><span class="hl-0"> </span><span class="hl-8">TapRecordPluginReturns</span><span class="hl-0"> = {</span><br/><span class="hl-0"> </span><span class="hl-4">// 一个返回历史列表的防范</span><br/><span class="hl-0"> </span><span class="hl-5">getHistory</span><span class="hl-0">: () </span><span class="hl-7">=&gt;</span><span class="hl-0"> </span><span class="hl-8">string</span><span class="hl-0">[]</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">TapRecordPlugin</span><span class="hl-0">: </span><span class="hl-8">FivePlugin</span><span class="hl-0">&lt;</span><br/><span class="hl-0"> </span><span class="hl-8">TapRecordPluginParameter</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-8">TapRecordPluginReturns</span><br/><span class="hl-0">&gt; = (</span><span class="hl-2">five</span><span class="hl-0">, </span><span class="hl-2">message</span><span class="hl-0"> = </span><span class="hl-3">&quot;tap!&quot;</span><span class="hl-0">) </span><span class="hl-7">=&gt;</span><span class="hl-0"> {</span><br/><br/><span class="hl-0"> </span><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">list</span><span class="hl-0">: </span><span class="hl-8">string</span><span class="hl-0">[] = [];</span><br/><br/><span class="hl-0"> </span><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-5">on</span><span class="hl-0">(</span><span class="hl-3">&quot;tapGesture&quot;</span><span class="hl-0">, () </span><span class="hl-7">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-2">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-2">message</span><span class="hl-0">);</span><br/><span class="hl-0"> </span><span class="hl-2">list</span><span class="hl-0">.</span><span class="hl-5">push</span><span class="hl-0">(</span><span class="hl-3">`</span><span class="hl-7">${</span><span class="hl-7">new</span><span class="hl-11"> </span><span class="hl-8">Date</span><span class="hl-11">().</span><span class="hl-5">toUTCString</span><span class="hl-11">()</span><span class="hl-7">}</span><span class="hl-3"> </span><span class="hl-7">${</span><span class="hl-2">message</span><span class="hl-7">}</span><span class="hl-3">`</span><span class="hl-0">);</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-1">return</span><span class="hl-0"> { </span><span class="hl-5">getHistory</span><span class="hl-2">:</span><span class="hl-0"> () </span><span class="hl-7">=&gt;</span><span class="hl-0"> </span><span class="hl-2">list</span><span class="hl-0">.</span><span class="hl-5">slice</span><span class="hl-0">() };</span><br/><span class="hl-0">};</span><br/><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">five</span><span class="hl-0"> = </span><span class="hl-7">new</span><span class="hl-0"> </span><span class="hl-5">Five</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-2">plugins:</span><span class="hl-0"> [</span><br/><span class="hl-0"> [</span><br/><span class="hl-0"> </span><span class="hl-4">// 插件对象在 five.plugins 中的命名实例名称,</span><br/><span class="hl-0"> </span><span class="hl-4">// 比如这个就是通过 five.plguins.tapRecord 获取到插件实例</span><br/><span class="hl-0"> </span><span class="hl-3">&quot;tapRecord&quot;</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-4">// 插件</span><br/><span class="hl-0"> </span><span class="hl-2">TapRecordPlugin</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-4">// 插件参数,必须符合 TapRecordPluginParameter 的生命</span><br/><span class="hl-0"> </span><span class="hl-3">&quot;tap!&quot;</span><br/><span class="hl-0"> ] </span><span class="hl-1">as</span><span class="hl-0"> </span><span class="hl-8">FivePluginInit</span><span class="hl-0">&lt;</span><span class="hl-7">typeof</span><span class="hl-0"> </span><span class="hl-2">TapRecordPlugin</span><span class="hl-0">&gt;</span><br/><span class="hl-0"> ]</span><br/><span class="hl-0">});</span><br/><br/><span class="hl-4">// five.load(...)</span><br/><br/><span class="hl-4">// five.plugins.tapRecord 可以获取到插件实例 &quot;tapRecord&quot; 是插件初始化声明确定的</span><br/><span class="hl-4">// 通过 FivePluginInstance 在约束类型,否则均为 any</span><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">tapRecord</span><span class="hl-0">: </span><span class="hl-8">FivePluginInstance</span><span class="hl-0">&lt;</span><span class="hl-7">typeof</span><span class="hl-0"> </span><span class="hl-2">TapRecordPlugin</span><span class="hl-0">&gt; = </span><span class="hl-2">five</span><span class="hl-0">.</span><span class="hl-2">plugins</span><span class="hl-0">.</span><span class="hl-2">tapRecord</span><span class="hl-0">;</span><br/><br/><span class="hl-4">// 现在就可以获取到历时列表了</span><br/><span class="hl-7">const</span><span class="hl-0"> </span><span class="hl-6">getHistory</span><span class="hl-0">: </span><span class="hl-8">string</span><span class="hl-0">[] = </span><span class="hl-2">tapRecord</span><span class="hl-0">.</span><span class="hl-5">getHistory</span><span class="hl-0">();</span><br/><br/><span class="hl-2">console</span><span class="hl-0">.</span><span class="hl-5">log</span><span class="hl-0">(</span><span class="hl-2">getHistory</span><span class="hl-0">);</span>
1932
381
  </code></pre>
1933
- <a href="#其他注意的问题" id="其他注意的问题" style="color: inherit; text-decoration: none;">
1934
- <h2>其他注意的问题</h2>
1935
- </a>
1936
- <ol>
1937
- <li>插件初始化的时机在 <code>new Five</code> 时,Five 并没有调用 <code>load</code> 来创建VR,请通过监听事件的方式,在合适的时机获取模型。</li>
1938
- <li>如果插件内容需要有 five 销毁同时销毁的内容,请监听 <code>five.on(&quot;dispose&quot;)</code> 事件来处理。</li>
1939
- <li>不要出现初始化插件同名的现象,会出现插件间冲突。</li>
1940
- </ol>
1941
- </div>
1942
- </div>
1943
- <h4 class="tsd-type-parameters-title">Type parameters</h4>
1944
- <ul class="tsd-type-parameters">
1945
- <li>
1946
- <h4>Parameters = <span class="tsd-signature-type">void</span></h4>
1947
- <div class="tsd-comment tsd-typography">
1948
- <p>插件参数, 没有参数则为 void</p>
1949
- </div>
1950
- </li>
1951
- <li>
1952
- <h4>Returns = <span class="tsd-signature-type">void</span></h4>
1953
- <div class="tsd-comment tsd-typography">
1954
- <p>如果有参数则插件暴露的 api,没有参数则不传</p>
1955
- </div>
1956
- </li>
1957
- </ul>
1958
- </section>
1959
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
1960
- <a name="FivePluginInit" class="tsd-anchor"></a>
1961
- <h3>Five<wbr>Plugin<wbr>Init</h3>
1962
- <div class="tsd-signature tsd-kind-icon">Five<wbr>Plugin<wbr>Init&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> ? </span><span class="tsd-signature-symbol">[</span>Plugin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span>instanceName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-symbol">[</span>Plugin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span>instanceName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span>parameters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">]</span></div>
1963
- <aside class="tsd-sources">
1964
- <ul>
1965
- <li>Defined in lib/five/types/plugin.ts:24</li>
1966
- </ul>
1967
- </aside>
1968
- <div class="tsd-comment tsd-typography">
1969
- <div class="lead">
1970
- <p>获取插件在Five中的初始化结构</p>
1971
- </div>
1972
- </div>
1973
- <h4 class="tsd-type-parameters-title">Type parameters</h4>
1974
- <ul class="tsd-type-parameters">
1975
- <li>
1976
- <h4>T<span class="tsd-signature-symbol">: </span><a href="five.html#FivePlugin" class="tsd-signature-type" data-tsd-kind="Type alias">FivePlugin</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
1977
- <div class="tsd-comment tsd-typography">
1978
- <p>Five 插件</p>
1979
- </div>
1980
- </li>
1981
- </ul>
1982
- </section>
1983
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
1984
- <a name="FivePluginInstance" class="tsd-anchor"></a>
1985
- <h3>Five<wbr>Plugin<wbr>Instance</h3>
1986
- <div class="tsd-signature tsd-kind-icon">Five<wbr>Plugin<wbr>Instance&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></div>
1987
- <aside class="tsd-sources">
1988
- <ul>
1989
- <li>Defined in lib/five/types/plugin.ts:18</li>
1990
- </ul>
1991
- </aside>
1992
- <div class="tsd-comment tsd-typography">
1993
- <div class="lead">
1994
- <p>获取插件暴露的 api</p>
1995
- </div>
1996
- </div>
1997
- <h4 class="tsd-type-parameters-title">Type parameters</h4>
1998
- <ul class="tsd-type-parameters">
1999
- <li>
2000
- <h4>T<span class="tsd-signature-symbol">: </span><a href="five.html#FivePlugin" class="tsd-signature-type" data-tsd-kind="Type alias">FivePlugin</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
2001
- <div class="tsd-comment tsd-typography">
2002
- <p>Five 插件</p>
2003
- </div>
2004
- </li>
2005
- </ul>
2006
- </section>
2007
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2008
- <a name="GestureTypes" class="tsd-anchor"></a>
2009
- <h3>Gesture<wbr>Types</h3>
2010
- <div class="tsd-signature tsd-kind-icon">Gesture<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;pan&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tap&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;pinch&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;mouseWheel&quot;</span></div>
2011
- <aside class="tsd-sources">
2012
- <ul>
2013
- <li>Defined in lib/five/controllers/events.ts:9</li>
2014
- </ul>
2015
- </aside>
2016
- </section>
2017
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2018
- <a name="LooseWork" class="tsd-anchor"></a>
2019
- <h3>Loose<wbr>Work</h3>
2020
- <div class="tsd-signature tsd-kind-icon">Loose<wbr>Work<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>bvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>initial<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkInitial" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkInitial</a><span class="tsd-signature-symbol">; </span>model<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkModel" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkModel</a><span class="tsd-signature-symbol">; </span>modelAsync<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>observers<span class="tsd-signature-symbol">: </span><a href="five.html#LooseWorkObserver" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkObserver</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>panorama<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>list<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>pano_high_cube_base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> }</span></div>
2021
- <aside class="tsd-sources">
2022
- <ul>
2023
- <li>Defined in lib/five/work/looseWorkType.ts:51</li>
2024
- </ul>
2025
- </aside>
2026
- <div class="tsd-type-declaration">
2027
- <h4>Type declaration</h4>
2028
- <ul class="tsd-parameters">
2029
- <li class="tsd-parameter">
2030
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> base_<wbr>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
2031
- </li>
2032
- <li class="tsd-parameter">
2033
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> bvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2034
- </li>
2035
- <li class="tsd-parameter">
2036
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> initial<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkInitial" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkInitial</a></h5>
2037
- </li>
2038
- <li class="tsd-parameter">
2039
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> model<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkModel" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkModel</a></h5>
2040
- </li>
2041
- <li class="tsd-parameter">
2042
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> model<wbr>Async<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2043
- </li>
2044
- <li class="tsd-parameter">
2045
- <h5>observers<span class="tsd-signature-symbol">: </span><a href="five.html#LooseWorkObserver" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkObserver</a><span class="tsd-signature-symbol">[]</span></h5>
2046
- </li>
2047
- <li class="tsd-parameter">
2048
- <h5>panorama<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>list<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>pano_high_cube_base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></h5>
2049
- <ul class="tsd-parameters">
2050
- <li class="tsd-parameter">
2051
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> base_<wbr>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
2052
- </li>
2053
- <li class="tsd-parameter">
2054
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> info<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span></h5>
2055
- </li>
2056
- <li class="tsd-parameter">
2057
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> list<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span></h5>
2058
- </li>
2059
- <li class="tsd-parameter">
2060
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> pano_<wbr>high_<wbr>cube_<wbr>base_<wbr>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
2061
- </li>
2062
- </ul>
2063
- </li>
2064
- </ul>
2065
- </div>
2066
- </section>
2067
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2068
- <a name="LooseWorkInitial" class="tsd-anchor"></a>
2069
- <h3>Loose<wbr>Work<wbr>Initial</h3>
2070
- <div class="tsd-signature tsd-kind-icon">Loose<wbr>Work<wbr>Initial<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>heading<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>latitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>longitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pano<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pano_index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></div>
2071
- <aside class="tsd-sources">
2072
- <ul>
2073
- <li>Defined in lib/five/work/looseWorkType.ts:27</li>
2074
- </ul>
2075
- </aside>
2076
- <div class="tsd-type-declaration">
2077
- <h4>Type declaration</h4>
2078
- <ul class="tsd-parameters">
2079
- <li class="tsd-parameter">
2080
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> heading<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2081
- </li>
2082
- <li class="tsd-parameter">
2083
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> latitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2084
- </li>
2085
- <li class="tsd-parameter">
2086
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> longitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2087
- </li>
2088
- <li class="tsd-parameter">
2089
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> pano<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2090
- </li>
2091
- <li class="tsd-parameter">
2092
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> pano_<wbr>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2093
- </li>
2094
- </ul>
2095
- </div>
2096
- </section>
2097
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2098
- <a name="LooseWorkModel" class="tsd-anchor"></a>
2099
- <h3>Loose<wbr>Work<wbr>Model</h3>
2100
- <div class="tsd-signature tsd-kind-icon">Loose<wbr>Work<wbr>Model<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>file_url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>material_base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>material_textures<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span></div>
2101
- <aside class="tsd-sources">
2102
- <ul>
2103
- <li>Defined in lib/five/work/looseWorkType.ts:34</li>
2104
- </ul>
2105
- </aside>
2106
- <div class="tsd-type-declaration">
2107
- <h4>Type declaration</h4>
2108
- <ul class="tsd-parameters">
2109
- <li class="tsd-parameter">
2110
- <h5>file_<wbr>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2111
- </li>
2112
- <li class="tsd-parameter">
2113
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> material_<wbr>base_<wbr>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
2114
- </li>
2115
- <li class="tsd-parameter">
2116
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> material_<wbr>textures<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
2117
- </li>
2118
- </ul>
2119
- </div>
2120
- </section>
2121
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2122
- <a name="LooseWorkObserver" class="tsd-anchor"></a>
2123
- <h3>Loose<wbr>Work<wbr>Observer</h3>
2124
- <div class="tsd-signature tsd-kind-icon">Loose<wbr>Work<wbr>Observer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>accessible_nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>floor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>floor_index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>quaternion<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>z<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">; </span>standing_position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>visible_nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span></div>
2125
- <aside class="tsd-sources">
2126
- <ul>
2127
- <li>Defined in lib/five/work/looseWorkType.ts:39</li>
2128
- </ul>
2129
- </aside>
2130
- <div class="tsd-type-declaration">
2131
- <h4>Type declaration</h4>
2132
- <ul class="tsd-parameters">
2133
- <li class="tsd-parameter">
2134
- <h5>accessible_<wbr>nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2135
- </li>
2136
- <li class="tsd-parameter">
2137
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2138
- </li>
2139
- <li class="tsd-parameter">
2140
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> floor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2141
- </li>
2142
- <li class="tsd-parameter">
2143
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> floor_<wbr>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2144
- </li>
2145
- <li class="tsd-parameter">
2146
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2147
- </li>
2148
- <li class="tsd-parameter">
2149
- <h5>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2150
- </li>
2151
- <li class="tsd-parameter">
2152
- <h5>quaternion<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>z<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5>
2153
- <ul class="tsd-parameters">
2154
- <li class="tsd-parameter">
2155
- <h5>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2156
- </li>
2157
- <li class="tsd-parameter">
2158
- <h5>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2159
- </li>
2160
- <li class="tsd-parameter">
2161
- <h5>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2162
- </li>
2163
- <li class="tsd-parameter">
2164
- <h5>z<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2165
- </li>
2166
- </ul>
2167
- </li>
2168
- <li class="tsd-parameter">
2169
- <h5>standing_<wbr>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2170
- </li>
2171
- <li class="tsd-parameter">
2172
- <h5>visible_<wbr>nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2173
- </li>
2174
- </ul>
2175
- </div>
2176
- </section>
2177
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2178
- <a name="LooseWorkPanorama" class="tsd-anchor"></a>
2179
- <h3>Loose<wbr>Work<wbr>Panorama</h3>
2180
- <div class="tsd-signature tsd-kind-icon">Loose<wbr>Work<wbr>Panorama<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>loadable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>luminance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">; </span>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>tiles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>video<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkVideo" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkVideo</a><span class="tsd-signature-symbol"> }</span></div>
2181
- <aside class="tsd-sources">
2182
- <ul>
2183
- <li>Defined in lib/five/work/looseWorkType.ts:6</li>
2184
- </ul>
2185
- </aside>
2186
- <div class="tsd-type-declaration">
2187
- <h4>Type declaration</h4>
2188
- <ul class="tsd-parameters">
2189
- <li class="tsd-parameter">
2190
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2191
- </li>
2192
- <li class="tsd-parameter">
2193
- <h5>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2194
- </li>
2195
- <li class="tsd-parameter">
2196
- <h5>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2197
- </li>
2198
- <li class="tsd-parameter">
2199
- <h5>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2200
- </li>
2201
- <li class="tsd-parameter">
2202
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2203
- </li>
2204
- <li class="tsd-parameter">
2205
- <h5>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2206
- </li>
2207
- <li class="tsd-parameter">
2208
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> loadable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2209
- </li>
2210
- <li class="tsd-parameter">
2211
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> luminance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></h5>
2212
- <ul class="tsd-parameters">
2213
- <li class="tsd-parameter">
2214
- <h5>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2215
- </li>
2216
- <li class="tsd-parameter">
2217
- <h5>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2218
- </li>
2219
- <li class="tsd-parameter">
2220
- <h5>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2221
- </li>
2222
- <li class="tsd-parameter">
2223
- <h5>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2224
- </li>
2225
- <li class="tsd-parameter">
2226
- <h5>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2227
- </li>
2228
- <li class="tsd-parameter">
2229
- <h5>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2230
- </li>
2231
- </ul>
2232
- </li>
2233
- <li class="tsd-parameter">
2234
- <h5>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2235
- </li>
2236
- <li class="tsd-parameter">
2237
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> tiles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2238
- </li>
2239
- <li class="tsd-parameter">
2240
- <h5>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2241
- </li>
2242
- <li class="tsd-parameter">
2243
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> video<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkVideo" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkVideo</a></h5>
2244
- </li>
2245
- </ul>
2246
- </div>
2247
- </section>
2248
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2249
- <a name="LooseWorkVideo" class="tsd-anchor"></a>
2250
- <h3>Loose<wbr>Work<wbr>Video</h3>
2251
- <div class="tsd-signature tsd-kind-icon">Loose<wbr>Work<wbr>Video<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>matrix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
2252
- <aside class="tsd-sources">
2253
- <ul>
2254
- <li>Defined in lib/five/work/looseWorkType.ts:1</li>
2255
- </ul>
2256
- </aside>
2257
- <div class="tsd-type-declaration">
2258
- <h4>Type declaration</h4>
2259
- <ul class="tsd-parameters">
2260
- <li class="tsd-parameter">
2261
- <h5>matrix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2262
- </li>
2263
- <li class="tsd-parameter">
2264
- <h5>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2265
- </li>
2266
- <li class="tsd-parameter">
2267
- <h5>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2268
- </li>
2269
- </ul>
2270
- </div>
2271
- </section>
2272
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
2273
- <a name="Mirror" class="tsd-anchor"></a>
2274
- <h3>Mirror</h3>
2275
- <div class="tsd-signature tsd-kind-icon">Mirror&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></div>
2276
- <aside class="tsd-sources">
2277
- <ul>
2278
- <li>Defined in lib/five/application/five.ts:64</li>
2279
- </ul>
2280
- </aside>
2281
- <h4 class="tsd-type-parameters-title">Type parameters</h4>
2282
- <ul class="tsd-type-parameters">
2283
- <li>
2284
- <h4>T<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h4>
2285
- </li>
2286
- </ul>
2287
- </section>
2288
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2289
- <a name="Mode" class="tsd-anchor"></a>
2290
- <h3>Mode</h3>
2291
- <div class="tsd-signature tsd-kind-icon">Mode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Floorplan&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Topview&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;VRPanorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Model&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;DepthPanorama&quot;</span></div>
2292
- <aside class="tsd-sources">
2293
- <ul>
2294
- <li>Defined in lib/five/types/mode.ts:10</li>
2295
- </ul>
2296
- </aside>
2297
- <div class="tsd-comment tsd-typography">
2298
- <div class="lead">
2299
- <p>Five 的显示模式,可以通过 <code>five.changeMode</code> <code>five.setState</code> 来切换</p>
2300
- <ul>
2301
- <li><strong>Panorama</strong>: 全景图游走模式</li>
2302
- <li><strong>Model</strong>: 模型游走模式</li>
2303
- <li><strong>Floorplan</strong>: 模型查看模式</li>
2304
- <li><strong>Topview</strong>: 户型图模式</li>
2305
- <li><strong>DepthPanorama</strong>: 深度图游走模式</li>
2306
- <li><strong>VRPanorama</strong>: VR眼镜模式</li>
2307
- </ul>
2308
- </div>
2309
- </div>
2310
- </section>
2311
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2312
- <a name="ModelEventType" class="tsd-anchor"></a>
2313
- <h3>Model<wbr>Event<wbr>Type</h3>
2314
- <div class="tsd-signature tsd-kind-icon">Model<wbr>Event<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bvhLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>geometryLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>loaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>materialLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>shownFloorChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div>
2315
- <aside class="tsd-sources">
2316
- <ul>
2317
- <li>Defined in lib/five/loaders/model/index.ts:66</li>
2318
- </ul>
2319
- </aside>
2320
- <div class="tsd-comment tsd-typography">
2321
- <div class="lead">
2322
- <p>模型事件列表</p>
2323
- </div>
2324
- <dl class="tsd-comment-tags">
2325
- <dt>description</dt>
2326
- <dd><p>具体事件列表 请查看 <a href="../interfaces/five.ModelEventCallback.html">ModelEventCallback</a></p>
2327
- </dd>
2328
- </dl>
2329
- </div>
2330
- <div class="tsd-type-declaration">
2331
- <h4>Type declaration</h4>
2332
- <ul class="tsd-parameters">
2333
- <li class="tsd-parameter">
2334
- <h5>bvh<wbr>Loaded<span class="tsd-signature-symbol">: </span>function</h5>
2335
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
2336
- <li class="tsd-signature tsd-kind-icon">bvh<wbr>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2337
- </ul>
2338
- <ul class="tsd-descriptions">
2339
- <li class="tsd-description">
2340
- <aside class="tsd-sources">
2341
- <ul>
2342
- <li>Defined in lib/five/loaders/model/index.ts:73</li>
2343
- </ul>
2344
- </aside>
2345
- <div class="tsd-comment tsd-typography">
2346
- <div class="lead">
2347
- <p>模型 bvh树 计算完成</p>
2348
- </div>
2349
- <dl class="tsd-comment-tags">
2350
- <dt>description</dt>
2351
- <dd><p>bvh 树用于高效的碰撞检测,可以在 <code>model.bvh</code> 属性来设置是否开启。默认开启。
2352
- bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完毕后,会对碰撞检测带来质的提升。</p>
2353
- </dd>
2354
- </dl>
2355
- </div>
2356
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2357
- </li>
2358
- </ul>
2359
- </li>
2360
- <li class="tsd-parameter">
2361
- <h5>error<span class="tsd-signature-symbol">: </span>function</h5>
2362
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
2363
- <li class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2364
- </ul>
2365
- <ul class="tsd-descriptions">
2366
- <li class="tsd-description">
2367
- <aside class="tsd-sources">
2368
- <ul>
2369
- <li>Defined in lib/five/loaders/model/index.ts:94</li>
2370
- </ul>
2371
- </aside>
2372
- <div class="tsd-comment tsd-typography">
2373
- <div class="lead">
2374
- <p>内部错误</p>
2375
- </div>
2376
- </div>
2377
- <h4 class="tsd-parameters-title">Parameters</h4>
2378
- <ul class="tsd-parameters">
2379
- <li>
2380
- <h5>error: <span class="tsd-signature-type">Error</span></h5>
2381
- <div class="tsd-comment tsd-typography">
2382
- <p>错误对象</p>
2383
- </div>
2384
- </li>
2385
- </ul>
2386
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2387
- </li>
2388
- </ul>
2389
- </li>
2390
- <li class="tsd-parameter">
2391
- <h5>geometry<wbr>Loaded<span class="tsd-signature-symbol">: </span>function</h5>
2392
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
2393
- <li class="tsd-signature tsd-kind-icon">geometry<wbr>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2394
- </ul>
2395
- <ul class="tsd-descriptions">
2396
- <li class="tsd-description">
2397
- <aside class="tsd-sources">
2398
- <ul>
2399
- <li>Defined in lib/five/loaders/model/index.ts:76</li>
2400
- </ul>
2401
- </aside>
2402
- <div class="tsd-comment tsd-typography">
2403
- <div class="lead">
2404
- <p>模型三角面片结构加载完成</p>
2405
- </div>
2406
- </div>
2407
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2408
- </li>
2409
- </ul>
2410
- </li>
2411
- <li class="tsd-parameter">
2412
- <h5>loaded<span class="tsd-signature-symbol">: </span>function</h5>
2413
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
2414
- <li class="tsd-signature tsd-kind-icon">loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2415
- </ul>
2416
- <ul class="tsd-descriptions">
2417
- <li class="tsd-description">
2418
- <aside class="tsd-sources">
2419
- <ul>
2420
- <li>Defined in lib/five/loaders/model/index.ts:82</li>
2421
- </ul>
2422
- </aside>
2423
- <div class="tsd-comment tsd-typography">
2424
- <div class="lead">
2425
- <p>模型加载完成</p>
2426
- </div>
2427
- </div>
2428
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2429
- </li>
2430
- </ul>
2431
- </li>
2432
- <li class="tsd-parameter">
2433
- <h5>material<wbr>Loaded<span class="tsd-signature-symbol">: </span>function</h5>
2434
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
2435
- <li class="tsd-signature tsd-kind-icon">material<wbr>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2436
- </ul>
2437
- <ul class="tsd-descriptions">
2438
- <li class="tsd-description">
2439
- <aside class="tsd-sources">
2440
- <ul>
2441
- <li>Defined in lib/five/loaders/model/index.ts:79</li>
2442
- </ul>
2443
- </aside>
2444
- <div class="tsd-comment tsd-typography">
2445
- <div class="lead">
2446
- <p>模型材质结构加载完成</p>
2447
- </div>
2448
- </div>
2449
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2450
- </li>
2451
- </ul>
2452
- </li>
2453
- <li class="tsd-parameter">
2454
- <h5>shown<wbr>Floor<wbr>Change<span class="tsd-signature-symbol">: </span>function</h5>
2455
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal">
2456
- <li class="tsd-signature tsd-kind-icon">shown<wbr>Floor<wbr>Change<span class="tsd-signature-symbol">(</span>shownFloor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, totalFloorLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2457
- </ul>
2458
- <ul class="tsd-descriptions">
2459
- <li class="tsd-description">
2460
- <aside class="tsd-sources">
2461
- <ul>
2462
- <li>Defined in lib/five/loaders/model/index.ts:88</li>
2463
- </ul>
2464
- </aside>
2465
- <div class="tsd-comment tsd-typography">
2466
- <div class="lead">
2467
- <p>显示楼层改变</p>
2468
- </div>
2469
- </div>
2470
- <h4 class="tsd-parameters-title">Parameters</h4>
2471
- <ul class="tsd-parameters">
2472
- <li>
2473
- <h5>shownFloor: <span class="tsd-signature-type">number</span></h5>
2474
- <div class="tsd-comment tsd-typography">
2475
- <p>显示的楼层</p>
2476
- </div>
2477
- </li>
2478
- <li>
2479
- <h5>totalFloorLength: <span class="tsd-signature-type">number</span></h5>
2480
- </li>
2481
- </ul>
2482
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2483
- </li>
2484
- </ul>
2485
- </li>
2486
- </ul>
2487
- </div>
2488
- </section>
2489
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2490
- <a name="NetWorkMeta" class="tsd-anchor"></a>
2491
- <h3>Net<wbr>Work<wbr>Meta</h3>
2492
- <div class="tsd-signature tsd-kind-icon">Net<wbr>Work<wbr>Meta<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>costs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>headers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>requestTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>responseTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
2493
- <aside class="tsd-sources">
2494
- <ul>
2495
- <li>Defined in lib/five/utils/ajax.ts:23</li>
2496
- </ul>
2497
- </aside>
2498
- <div class="tsd-type-declaration">
2499
- <h4>Type declaration</h4>
2500
- <ul class="tsd-parameters">
2501
- <li class="tsd-parameter">
2502
- <h5>costs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2503
- </li>
2504
- <li class="tsd-parameter">
2505
- <h5>headers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span></h5>
2506
- <ul class="tsd-parameters">
2507
- <li class="tsd-parameter-index-signature">
2508
- <h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5>
2509
- </li>
2510
- </ul>
2511
- </li>
2512
- <li class="tsd-parameter">
2513
- <h5>request<wbr>Time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2514
- </li>
2515
- <li class="tsd-parameter">
2516
- <h5>response<wbr>Time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
2517
- </li>
2518
- <li class="tsd-parameter">
2519
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
2520
- </li>
2521
- <li class="tsd-parameter">
2522
- <h5>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
2523
- </li>
2524
- </ul>
2525
- </div>
2526
- </section>
2527
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2528
- <a name="NetworkState" class="tsd-anchor"></a>
2529
- <h3>Network<wbr>State</h3>
2530
- <div class="tsd-signature tsd-kind-icon">Network<wbr>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ok&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;preload&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;forbidden&quot;</span></div>
2531
- <aside class="tsd-sources">
2532
- <ul>
2533
- <li>Defined in lib/five/utils/ajax.ts:35</li>
2534
- </ul>
2535
- </aside>
2536
- </section>
2537
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2538
- <a name="NetworkType" class="tsd-anchor"></a>
2539
- <h3>Network<wbr>Type</h3>
2540
- <div class="tsd-signature tsd-kind-icon">Network<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;XMLHttpRequest&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Script&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Image&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Link&quot;</span></div>
2541
- <aside class="tsd-sources">
2542
- <ul>
2543
- <li>Defined in lib/five/utils/ajax.ts:34</li>
2544
- </ul>
2545
- </aside>
2546
- </section>
2547
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2548
- <a name="ParseWorkOptions" class="tsd-anchor"></a>
2549
- <h3>Parse<wbr>Work<wbr>Options</h3>
2550
- <div class="tsd-signature tsd-kind-icon">Parse<wbr>Work<wbr>Options<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>baseURL<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>jsonp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>modelAsync<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>modelBvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>shortPath<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></div>
2551
- <aside class="tsd-sources">
2552
- <ul>
2553
- <li>Defined in lib/five/work/parse.ts:17</li>
2554
- </ul>
2555
- </aside>
2556
- <div class="tsd-type-declaration">
2557
- <h4>Type declaration</h4>
2558
- <ul class="tsd-parameters">
2559
- <li class="tsd-parameter">
2560
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> baseURL<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5>
2561
- <div class="tsd-comment tsd-typography">
2562
- <div class="lead">
2563
- <p>重写 work 中的资源前缀</p>
2564
- </div>
2565
- </div>
2566
- </li>
2567
- <li class="tsd-parameter">
2568
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> jsonp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2569
- <div class="tsd-comment tsd-typography">
2570
- <div class="lead">
2571
- <p>work 中的资源使用 jsonp 方式发布</p>
2572
- </div>
2573
- </div>
2574
- </li>
2575
- <li class="tsd-parameter">
2576
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> model<wbr>Async<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2577
- <div class="tsd-comment tsd-typography">
2578
- <div class="lead">
2579
- <p>work 中模型加载是否同步, 默认异步 true</p>
2580
- </div>
2581
- </div>
2582
- </li>
2583
- <li class="tsd-parameter">
2584
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> model<wbr>Bvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2585
- <div class="tsd-comment tsd-typography">
2586
- <div class="lead">
2587
- <p>work 中模型是否计算bvh碰撞数,默认计算 true</p>
2588
- </div>
2589
- </div>
2590
- </li>
2591
- <li class="tsd-parameter">
2592
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> short<wbr>Path<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
2593
- <div class="tsd-comment tsd-typography">
2594
- <div class="lead">
2595
- <p>work 中的资源地址使用短地址</p>
2596
- </div>
2597
- </div>
2598
- </li>
2599
- </ul>
2600
- </div>
2601
- </section>
2602
- <section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module">
2603
- <a name="SubscribeEventMap" class="tsd-anchor"></a>
2604
- <h3>Subscribe<wbr>Event<wbr>Map</h3>
2605
- <div class="tsd-signature tsd-kind-icon">Subscribe<wbr>Event<wbr>Map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
2606
- <aside class="tsd-sources">
2607
- <ul>
2608
- <li>Defined in lib/five/utils/subscribe.ts:6</li>
2609
- </ul>
2610
- </aside>
2611
- <div class="tsd-type-declaration">
2612
- <h4>Type declaration</h4>
2613
- <ul class="tsd-parameters">
2614
- <li class="tsd-parameter-index-signature">
2615
- <h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5>
2616
- <ul class="tsd-parameters">
2617
- <li class="tsd-parameter-signature">
2618
- <ul class="tsd-signatures tsd-kind-type-literal">
2619
- <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></li>
2620
- </ul>
2621
- <ul class="tsd-descriptions">
2622
- <li class="tsd-description">
2623
- <h4 class="tsd-parameters-title">Parameters</h4>
2624
- <ul class="tsd-parameters">
2625
- <li>
2626
- <h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
2627
- </li>
2628
- </ul>
2629
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h4>
2630
- </li>
2631
- </ul>
2632
- </li>
2633
- </ul>
2634
- </li>
2635
- </ul>
2636
- </div>
2637
- </section>
2638
- </section>
2639
- <section class="tsd-panel-group tsd-member-group ">
2640
- <h2>Variables</h2>
2641
- <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
2642
- <a name="PROXY_CONTROLLER_EVENT_NAMES" class="tsd-anchor"></a>
2643
- <h3><span class="tsd-flag ts-flagConst">Const</span> PROXY_<wbr>CONTROLLER_<wbr>EVENT_<wbr>NAMES</h3>
2644
- <div class="tsd-signature tsd-kind-icon">PROXY_<wbr>CONTROLLER_<wbr>EVENT_<wbr>NAMES<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;cameraDirectionUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;cameraUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;cameraPositionUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoSelected&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;moveToPano&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;moveToPanoCanceled&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoWillArrive&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;movingToPano&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoArrived&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoWillLoad&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoLoaded&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoLoadError&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;initAnimationEnded&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;initAnimationWillStart&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;gesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsTapGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;tapGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsPanGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsInteriaPan&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;interiaPan&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsPinchGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;pinchGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsMouseWheel&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;mouseWheel&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsShowIntersectionOnModel&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;intersectionOnModelUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;intersectionHidden&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureStartLoad&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureLoading&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureAbort&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureLoaded&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureError&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div>
2645
- <aside class="tsd-sources">
2646
- <ul>
2647
- <li>Defined in lib/five/application/events.ts:10</li>
2648
- </ul>
2649
- </aside>
2650
- </section>
2651
- </section>
2652
- <section class="tsd-panel-group tsd-member-group ">
2653
- <h2>Functions</h2>
2654
- <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
2655
- <a name="defaultImageURLTransform" class="tsd-anchor"></a>
2656
- <h3>default<wbr>ImageURLTransform</h3>
2657
- <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
2658
- <li class="tsd-signature tsd-kind-icon">default<wbr>ImageURLTransform<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.ImageURLOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageURLOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
2659
- </ul>
2660
- <ul class="tsd-descriptions">
2661
- <li class="tsd-description">
2662
- <aside class="tsd-sources">
2663
- <ul>
2664
- <li>Defined in lib/five/utils/imageURL.ts:91</li>
2665
- </ul>
2666
- </aside>
2667
- <div class="tsd-comment tsd-typography">
2668
- <div class="lead">
2669
- <p>URL 地址的转换</p>
2670
- </div>
2671
- </div>
2672
- <h4 class="tsd-parameters-title">Parameters</h4>
2673
- <ul class="tsd-parameters">
2674
- <li>
2675
- <h5>url: <span class="tsd-signature-type">string</span></h5>
2676
- <div class="tsd-comment tsd-typography">
2677
- <p>url 原地址</p>
2678
- </div>
2679
- </li>
2680
- <li>
2681
- <h5>options: <a href="../interfaces/five.ImageURLOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageURLOptions</a></h5>
2682
- <div class="tsd-comment tsd-typography">
2683
- <p>url 转换参数</p>
2684
- </div>
2685
- </li>
2686
- </ul>
2687
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
2688
- <p>url 转换结果</p>
2689
- </li>
2690
- </ul>
2691
- </section>
2692
- <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
2693
- <a name="getViewportScale" class="tsd-anchor"></a>
2694
- <h3>get<wbr>Viewport<wbr>Scale</h3>
2695
- <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
2696
- <li class="tsd-signature tsd-kind-icon">get<wbr>Viewport<wbr>Scale<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
2697
- </ul>
2698
- <ul class="tsd-descriptions">
2699
- <li class="tsd-description">
2700
- <aside class="tsd-sources">
2701
- <ul>
2702
- <li>Defined in lib/five/application/getViewportScale.ts:15</li>
2703
- </ul>
2704
- </aside>
2705
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
2706
- </li>
2707
- </ul>
2708
- </section>
2709
- <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
2710
- <a name="parseWork" class="tsd-anchor"></a>
2711
- <h3>parse<wbr>Work</h3>
2712
- <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
2713
- <li class="tsd-signature tsd-kind-icon">parse<wbr>Work<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a><span class="tsd-signature-symbol"> | </span><a href="five.html#LooseWork" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWork</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">any</span>, options<span class="tsd-signature-symbol">?: </span><a href="five.html#ParseWorkOptions" class="tsd-signature-type" data-tsd-kind="Type alias">ParseWorkOptions</a>, urlTransform<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, absolute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, relative<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></li>
2714
- </ul>
2715
- <ul class="tsd-descriptions">
2716
- <li class="tsd-description">
2717
- <aside class="tsd-sources">
2718
- <ul>
2719
- <li>Defined in lib/five/work/parse.ts:481</li>
2720
- </ul>
2721
- </aside>
2722
- <div class="tsd-comment tsd-typography">
2723
- <div class="lead">
2724
- <p>解析 Work 数据</p>
2725
- </div>
2726
- </div>
2727
- <h4 class="tsd-parameters-title">Parameters</h4>
2728
- <ul class="tsd-parameters">
2729
- <li>
2730
- <h5>obj: <a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a><span class="tsd-signature-symbol"> | </span><a href="five.html#LooseWork" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWork</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">any</span></h5>
2731
- <div class="tsd-comment tsd-typography">
2732
- <p>work 数据,从如数开发者平台获取</p>
2733
- </div>
2734
- </li>
2735
- <li>
2736
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="five.html#ParseWorkOptions" class="tsd-signature-type" data-tsd-kind="Type alias">ParseWorkOptions</a></h5>
2737
- <div class="tsd-comment tsd-typography">
2738
- <p>配置参数, 可以在此二次设置 baseURL 等参数</p>
2739
- </div>
2740
- </li>
2741
- <li>
2742
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> urlTransform: <span class="tsd-signature-symbol">(</span>origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, absolute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, relative<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
2743
- <ul class="tsd-parameters">
2744
- <li class="tsd-parameter-signature">
2745
- <ul class="tsd-signatures tsd-kind-type-literal">
2746
- <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, absolute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, relative<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2747
- </ul>
2748
- <ul class="tsd-descriptions">
2749
- <li class="tsd-description">
2750
- <h4 class="tsd-parameters-title">Parameters</h4>
2751
- <ul class="tsd-parameters">
2752
- <li>
2753
- <h5>origin: <span class="tsd-signature-type">string</span></h5>
2754
- </li>
2755
- <li>
2756
- <h5>absolute: <span class="tsd-signature-type">string</span></h5>
2757
- </li>
2758
- <li>
2759
- <h5>relative: <span class="tsd-signature-type">string</span></h5>
2760
- </li>
2761
- <li>
2762
- <h5>type: <span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span></h5>
2763
- </li>
2764
- </ul>
2765
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
2766
- </li>
2767
- </ul>
2768
- </li>
2769
- </ul>
2770
- </li>
2771
- </ul>
2772
- <h4 class="tsd-returns-title">Returns <a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h4>
2773
- <ul>
2774
- <li>签署过的 Work 数据结构</li>
2775
- </ul>
2776
- </li>
2777
- </ul>
2778
- </section>
2779
- </section>
2780
- </div>
2781
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
2782
- <nav class="tsd-navigation primary">
2783
- <ul>
2784
- <li class=" ">
2785
- <a href="../modules.html">Modules</a>
2786
- </li>
2787
- <li class="current tsd-kind-module">
2788
- <a href="five.html">five</a>
2789
- </li>
2790
- <li class=" tsd-kind-module">
2791
- <a href="gltf_loader.html">gltf-<wbr>loader</a>
2792
- </li>
2793
- <li class=" tsd-kind-module">
2794
- <a href="line.html">line</a>
2795
- </li>
2796
- <li class=" tsd-kind-module">
2797
- <a href="react.html">react</a>
2798
- </li>
2799
- <li class=" tsd-kind-module">
2800
- <a href="server.html">server</a>
2801
- </li>
2802
- <li class=" tsd-kind-module">
2803
- <a href="sticker.html">sticker</a>
2804
- </li>
2805
- </ul>
2806
- </nav>
2807
- <nav class="tsd-navigation secondary menu-sticky">
2808
- <ul class="before-current">
2809
- <li class=" tsd-kind-class tsd-parent-kind-module">
2810
- <a href="../classes/five.AnimationFrameLoop.html" class="tsd-kind-icon">Animation<wbr>Frame<wbr>Loop</a>
2811
- </li>
2812
- <li class=" tsd-kind-class tsd-parent-kind-module">
2813
- <a href="../classes/five.BVH.html" class="tsd-kind-icon">BVH</a>
2814
- </li>
2815
- <li class=" tsd-kind-class tsd-parent-kind-module">
2816
- <a href="../classes/five.BVHNode.html" class="tsd-kind-icon">BVHNode</a>
2817
- </li>
2818
- <li class=" tsd-kind-class tsd-parent-kind-module">
2819
- <a href="../classes/five.BVHVector3.html" class="tsd-kind-icon">BVHVector3</a>
2820
- </li>
2821
- <li class=" tsd-kind-class tsd-parent-kind-module">
2822
- <a href="../classes/five.Camera.html" class="tsd-kind-icon">Camera</a>
2823
- </li>
2824
- <li class=" tsd-kind-class tsd-parent-kind-module">
2825
- <a href="../classes/five.Five.html" class="tsd-kind-icon">Five</a>
2826
- </li>
2827
- <li class=" tsd-kind-class tsd-parent-kind-module">
2828
- <a href="../classes/five.InternalWebGLRenderer.html" class="tsd-kind-icon">Internal<wbr>WebGLRenderer</a>
2829
- </li>
2830
- <li class=" tsd-kind-class tsd-parent-kind-module">
2831
- <a href="../classes/five.Model.html" class="tsd-kind-icon">Model</a>
2832
- </li>
2833
- <li class=" tsd-kind-class tsd-parent-kind-module">
2834
- <a href="../classes/five.NetworkSubscribe.html" class="tsd-kind-icon">Network<wbr>Subscribe</a>
2835
- </li>
2836
- <li class=" tsd-kind-class tsd-parent-kind-module">
2837
- <a href="../classes/five.PBMContainer.html" class="tsd-kind-icon">PBMContainer</a>
2838
- </li>
2839
- <li class=" tsd-kind-class tsd-parent-kind-module">
2840
- <a href="../classes/five.PBMGroup.html" class="tsd-kind-icon">PBMGroup</a>
2841
- </li>
2842
- <li class=" tsd-kind-class tsd-parent-kind-module">
2843
- <a href="../classes/five.PBMMaterial.html" class="tsd-kind-icon">PBMMaterial</a>
2844
- </li>
2845
- <li class=" tsd-kind-class tsd-parent-kind-module">
2846
- <a href="../classes/five.PBMMesh.html" class="tsd-kind-icon">PBMMesh</a>
2847
- </li>
2848
- <li class=" tsd-kind-class tsd-parent-kind-module">
2849
- <a href="../classes/five.Scene.html" class="tsd-kind-icon">Scene</a>
2850
- </li>
2851
- <li class=" tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter">
2852
- <a href="../classes/five.Subscribe.html" class="tsd-kind-icon">Subscribe</a>
2853
- </li>
2854
- <li class=" tsd-kind-class tsd-parent-kind-module">
2855
- <a href="../classes/five.Work.html" class="tsd-kind-icon">Work</a>
2856
- </li>
2857
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2858
- <a href="../interfaces/five.AddableObject.html" class="tsd-kind-icon">Addable<wbr>Object</a>
2859
- </li>
2860
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2861
- <a href="../interfaces/five.AnimationFrame.html" class="tsd-kind-icon">Animation<wbr>Frame</a>
2862
- </li>
2863
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2864
- <a href="../interfaces/five.BVHIntersect.html" class="tsd-kind-icon">BVHIntersect</a>
2865
- </li>
2866
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2867
- <a href="../interfaces/five.CameraPose.html" class="tsd-kind-icon">Camera<wbr>Pose</a>
2868
- </li>
2869
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2870
- <a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Depth<wbr>Panorama<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2871
- </li>
2872
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2873
- <a href="../interfaces/five.EventCallback.html" class="tsd-kind-icon">Event<wbr>Callback</a>
2874
- </li>
2875
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2876
- <a href="../interfaces/five.FiveInitArgs.html" class="tsd-kind-icon">Five<wbr>Init<wbr>Args</a>
2877
- </li>
2878
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2879
- <a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-kind-icon">Floorplan<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2880
- </li>
2881
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2882
- <a href="../interfaces/five.ImageOptions.html" class="tsd-kind-icon">Image<wbr>Options</a>
2883
- </li>
2884
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2885
- <a href="../interfaces/five.ImageURLOptions.html" class="tsd-kind-icon">ImageURLOptions</a>
2886
- </li>
2887
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2888
- <a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-kind-icon">Intersect<wbr>Mesh<wbr>Interface</a>
2889
- </li>
2890
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2891
- <a href="../interfaces/five.Intersection.html" class="tsd-kind-icon">Intersection</a>
2892
- </li>
2893
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2894
- <a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-kind-icon">Model<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2895
- </li>
2896
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2897
- <a href="../interfaces/five.ModelEventCallback.html" class="tsd-kind-icon">Model<wbr>Event<wbr>Callback</a>
2898
- </li>
2899
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2900
- <a href="../interfaces/five.MovePanoOptions.html" class="tsd-kind-icon">Move<wbr>Pano<wbr>Options</a>
2901
- </li>
2902
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2903
- <a href="../interfaces/five.PBMPanoPicture.html" class="tsd-kind-icon">PBMPano<wbr>Picture</a>
2904
- </li>
2905
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2906
- <a href="../interfaces/five.PBMParameters.html" class="tsd-kind-icon">PBMParameters</a>
2907
- </li>
2908
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2909
- <a href="../interfaces/five.PanoCircleMeshInterface.html" class="tsd-kind-icon">Pano<wbr>Circle<wbr>Mesh<wbr>Interface</a>
2910
- </li>
2911
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2912
- <a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2913
- </li>
2914
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2915
- <a href="../interfaces/five.PanoramaLikeControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr>Like<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2916
- </li>
2917
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2918
- <a href="../interfaces/five.Pose.html" class="tsd-kind-icon">Pose</a>
2919
- </li>
2920
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2921
- <a href="../interfaces/five.Scissor.html" class="tsd-kind-icon">Scissor</a>
2922
- </li>
2923
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2924
- <a href="../interfaces/five.State.html" class="tsd-kind-icon">State</a>
2925
- </li>
2926
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2927
- <a href="../interfaces/five.TextureOptions.html" class="tsd-kind-icon">Texture<wbr>Options</a>
2928
- </li>
2929
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2930
- <a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-kind-icon">Topview<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2931
- </li>
2932
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2933
- <a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">VRPanorama<wbr>Controller<wbr>Custom<wbr>Init<wbr>Args</a>
2934
- </li>
2935
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2936
- <a href="../interfaces/five.WorkCubeImage.html" class="tsd-kind-icon">Work<wbr>Cube<wbr>Image</a>
2937
- </li>
2938
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2939
- <a href="../interfaces/five.WorkImage.html" class="tsd-kind-icon">Work<wbr>Image</a>
2940
- </li>
2941
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2942
- <a href="../interfaces/five.WorkInitial.html" class="tsd-kind-icon">Work<wbr>Initial</a>
2943
- </li>
2944
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2945
- <a href="../interfaces/five.WorkModel.html" class="tsd-kind-icon">Work<wbr>Model</a>
2946
- </li>
2947
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2948
- <a href="../interfaces/five.WorkObserver.html" class="tsd-kind-icon">Work<wbr>Observer</a>
2949
- </li>
2950
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2951
- <a href="../interfaces/five.WorkTile.html" class="tsd-kind-icon">Work<wbr>Tile</a>
2952
- </li>
2953
- <li class=" tsd-kind-interface tsd-parent-kind-module">
2954
- <a href="../interfaces/five.WorkVideo.html" class="tsd-kind-icon">Work<wbr>Video</a>
2955
- </li>
2956
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2957
- <a href="five.html#ControllerCustomInitTypes" class="tsd-kind-icon">Controller<wbr>Custom<wbr>Init<wbr>Types</a>
2958
- </li>
2959
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2960
- <a href="five.html#ControllerEventTypes" class="tsd-kind-icon">Controller<wbr>Event<wbr>Types</a>
2961
- </li>
2962
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2963
- <a href="five.html#EventTypes" class="tsd-kind-icon">Event<wbr>Types</a>
2964
- </li>
2965
- <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
2966
- <a href="five.html#FivePlugin" class="tsd-kind-icon">Five<wbr>Plugin</a>
2967
- </li>
2968
- <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
2969
- <a href="five.html#FivePluginInit" class="tsd-kind-icon">Five<wbr>Plugin<wbr>Init</a>
2970
- </li>
2971
- <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
2972
- <a href="five.html#FivePluginInstance" class="tsd-kind-icon">Five<wbr>Plugin<wbr>Instance</a>
2973
- </li>
2974
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2975
- <a href="five.html#GestureTypes" class="tsd-kind-icon">Gesture<wbr>Types</a>
2976
- </li>
2977
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2978
- <a href="five.html#LooseWork" class="tsd-kind-icon">Loose<wbr>Work</a>
2979
- </li>
2980
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2981
- <a href="five.html#LooseWorkInitial" class="tsd-kind-icon">Loose<wbr>Work<wbr>Initial</a>
2982
- </li>
2983
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2984
- <a href="five.html#LooseWorkModel" class="tsd-kind-icon">Loose<wbr>Work<wbr>Model</a>
2985
- </li>
2986
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2987
- <a href="five.html#LooseWorkObserver" class="tsd-kind-icon">Loose<wbr>Work<wbr>Observer</a>
2988
- </li>
2989
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2990
- <a href="five.html#LooseWorkPanorama" class="tsd-kind-icon">Loose<wbr>Work<wbr>Panorama</a>
2991
- </li>
2992
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2993
- <a href="five.html#LooseWorkVideo" class="tsd-kind-icon">Loose<wbr>Work<wbr>Video</a>
2994
- </li>
2995
- <li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
2996
- <a href="five.html#Mirror" class="tsd-kind-icon">Mirror</a>
2997
- </li>
2998
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
2999
- <a href="five.html#Mode" class="tsd-kind-icon">Mode</a>
3000
- </li>
3001
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
3002
- <a href="five.html#ModelEventType" class="tsd-kind-icon">Model<wbr>Event<wbr>Type</a>
3003
- </li>
3004
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
3005
- <a href="five.html#NetWorkMeta" class="tsd-kind-icon">Net<wbr>Work<wbr>Meta</a>
3006
- </li>
3007
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
3008
- <a href="five.html#NetworkState" class="tsd-kind-icon">Network<wbr>State</a>
3009
- </li>
3010
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
3011
- <a href="five.html#NetworkType" class="tsd-kind-icon">Network<wbr>Type</a>
3012
- </li>
3013
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
3014
- <a href="five.html#ParseWorkOptions" class="tsd-kind-icon">Parse<wbr>Work<wbr>Options</a>
3015
- </li>
3016
- <li class=" tsd-kind-type-alias tsd-parent-kind-module">
3017
- <a href="five.html#SubscribeEventMap" class="tsd-kind-icon">Subscribe<wbr>Event<wbr>Map</a>
3018
- </li>
3019
- <li class=" tsd-kind-variable tsd-parent-kind-module">
3020
- <a href="five.html#PROXY_CONTROLLER_EVENT_NAMES" class="tsd-kind-icon">PROXY_<wbr>CONTROLLER_<wbr>EVENT_<wbr>NAMES</a>
3021
- </li>
3022
- <li class=" tsd-kind-function tsd-parent-kind-module">
3023
- <a href="five.html#defaultImageURLTransform" class="tsd-kind-icon">default<wbr>ImageURLTransform</a>
3024
- </li>
3025
- <li class=" tsd-kind-function tsd-parent-kind-module">
3026
- <a href="five.html#getViewportScale" class="tsd-kind-icon">get<wbr>Viewport<wbr>Scale</a>
3027
- </li>
3028
- <li class=" tsd-kind-function tsd-parent-kind-module">
3029
- <a href="five.html#parseWork" class="tsd-kind-icon">parse<wbr>Work</a>
3030
- </li>
3031
- </ul>
3032
- </nav>
3033
- </div>
3034
- </div>
3035
- </div>
3036
- <footer>
3037
- <div class="container">
3038
- <h2>Legend</h2>
3039
- <div class="tsd-legend-group">
3040
- <ul class="tsd-legend">
3041
- <li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
3042
- <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
3043
- <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
3044
- <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
3045
- <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
3046
- <li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
3047
- </ul>
3048
- <ul class="tsd-legend">
3049
- <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
3050
- <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
3051
- </ul>
3052
- <ul class="tsd-legend">
3053
- <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
3054
- <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
3055
- </ul>
3056
- </div>
3057
- </div>
3058
- </footer>
3059
- <div class="overlay"></div>
3060
- <script src="../assets/js/main.js"></script>
3061
- </body>
3062
- </html>
382
+
383
+ <a href="#其他注意的问题" id="其他注意的问题" style="color: inherit; text-decoration: none;">
384
+ <h2>其他注意的问题</h2>
385
+ </a>
386
+ <ol>
387
+ <li>插件初始化的时机在 <code>new Five</code> 时,Five 并没有调用 <code>load</code> 来创建VR,请通过监听事件的方式,在合适的时机获取模型。</li>
388
+ <li>如果插件内容需要有 five 销毁同时销毁的内容,请监听 <code>five.on(&quot;dispose&quot;)</code> 事件来处理。</li>
389
+ <li>不要出现初始化插件同名的现象,会出现插件间冲突。</li>
390
+ </ol>
391
+ </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>Parameters = <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="lead">
392
+ <p>插件参数, 没有参数则为 void</p>
393
+ </div></div></li><li><h4>Returns = <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="lead">
394
+ <p>如果有参数则插件暴露的 api,没有参数则不传</p>
395
+ </div></div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a id="FivePluginInit" class="tsd-anchor"></a><h3>Five<wbr/>Plugin<wbr/>Init</h3><div class="tsd-signature tsd-kind-icon">Five<wbr/>Plugin<wbr/>Init<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> ? </span><span class="tsd-signature-symbol">[</span>Plugin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span>instanceName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-symbol">[</span>Plugin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span>instanceName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span>parameters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">]</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/types/plugin.ts:24</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
396
+ <p>获取插件在Five中的初始化结构</p>
397
+ </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>T<span class="tsd-signature-symbol">: </span><a href="five.html#FivePlugin" class="tsd-signature-type" data-tsd-kind="Type alias">FivePlugin</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="lead">
398
+ <p>Five 插件</p>
399
+ </div></div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a id="FivePluginInstance" class="tsd-anchor"></a><h3>Five<wbr/>Plugin<wbr/>Instance</h3><div class="tsd-signature tsd-kind-icon">Five<wbr/>Plugin<wbr/>Instance<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/types/plugin.ts:18</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
400
+ <p>获取插件暴露的 api</p>
401
+ </div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>T<span class="tsd-signature-symbol">: </span><a href="five.html#FivePlugin" class="tsd-signature-type" data-tsd-kind="Type alias">FivePlugin</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="lead">
402
+ <p>Five 插件</p>
403
+ </div></div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="GestureTypes" class="tsd-anchor"></a><h3>Gesture<wbr/>Types</h3><div class="tsd-signature tsd-kind-icon">Gesture<wbr/>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;pan&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tap&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;pinch&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;mouseWheel&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/controllers/events.ts:9</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="LooseWork" class="tsd-anchor"></a><h3>Loose<wbr/>Work</h3><div class="tsd-signature tsd-kind-icon">Loose<wbr/>Work<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>bvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>initial<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkInitial" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkInitial</a><span class="tsd-signature-symbol">; </span>model<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkModel" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkModel</a><span class="tsd-signature-symbol">; </span>modelAsync<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>observers<span class="tsd-signature-symbol">: </span><a href="five.html#LooseWorkObserver" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkObserver</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>panorama<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>list<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>pano_high_cube_base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/looseWorkType.ts:51</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> base_<wbr/>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> bvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> initial<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkInitial" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkInitial</a></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> model<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkModel" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkModel</a></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> model<wbr/>Async<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5>observers<span class="tsd-signature-symbol">: </span><a href="five.html#LooseWorkObserver" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkObserver</a><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>panorama<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>info<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>list<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>pano_high_cube_base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> base_<wbr/>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> info<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> list<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkPanorama" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkPanorama</a><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> pano_<wbr/>high_<wbr/>cube_<wbr/>base_<wbr/>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="LooseWorkInitial" class="tsd-anchor"></a><h3>Loose<wbr/>Work<wbr/>Initial</h3><div class="tsd-signature tsd-kind-icon">Loose<wbr/>Work<wbr/>Initial<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>heading<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>latitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>longitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pano<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>pano_index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/looseWorkType.ts:27</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> heading<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> latitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> longitude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> pano<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> pano_<wbr/>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="LooseWorkModel" class="tsd-anchor"></a><h3>Loose<wbr/>Work<wbr/>Model</h3><div class="tsd-signature tsd-kind-icon">Loose<wbr/>Work<wbr/>Model<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>file_url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>material_base_url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>material_textures<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/looseWorkType.ts:34</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>file_<wbr/>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> material_<wbr/>base_<wbr/>url<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> material_<wbr/>textures<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="LooseWorkObserver" class="tsd-anchor"></a><h3>Loose<wbr/>Work<wbr/>Observer</h3><div class="tsd-signature tsd-kind-icon">Loose<wbr/>Work<wbr/>Observer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>accessible_nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>floor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>floor_index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>quaternion<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>z<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">; </span>standing_position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>visible_nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/looseWorkType.ts:39</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>accessible_<wbr/>nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> floor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> floor_<wbr/>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>quaternion<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>z<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>z<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></li><li class="tsd-parameter"><h5>standing_<wbr/>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>visible_<wbr/>nodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="LooseWorkPanorama" class="tsd-anchor"></a><h3>Loose<wbr/>Work<wbr/>Panorama</h3><div class="tsd-signature tsd-kind-icon">Loose<wbr/>Work<wbr/>Panorama<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>loadable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>luminance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">; </span>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>tiles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>video<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkVideo" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkVideo</a><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/looseWorkType.ts:6</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> active<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> index<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> loadable<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> luminance<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5>back<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>down<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>front<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>left<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></li><li class="tsd-parameter"><h5>right<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> tiles<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>up<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> video<span class="tsd-signature-symbol">?: </span><a href="five.html#LooseWorkVideo" class="tsd-signature-type" data-tsd-kind="Type alias">LooseWorkVideo</a></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="LooseWorkVideo" class="tsd-anchor"></a><h3>Loose<wbr/>Work<wbr/>Video</h3><div class="tsd-signature tsd-kind-icon">Loose<wbr/>Work<wbr/>Video<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>matrix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/looseWorkType.ts:1</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>matrix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>size<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a id="Mirror" class="tsd-anchor"></a><h3>Mirror</h3><div class="tsd-signature tsd-kind-icon">Mirror<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/five.ts:64</li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>T<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="Mode" class="tsd-anchor"></a><h3>Mode</h3><div class="tsd-signature tsd-kind-icon">Mode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Floorplan&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Topview&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;VRPanorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Model&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;DepthPanorama&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/types/mode.ts:10</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
404
+ <p>Five 的显示模式,可以通过 <code>five.changeMode</code> <code>five.setState</code> 来切换</p>
405
+ <ul>
406
+ <li><strong>Panorama</strong>: 全景图游走模式</li>
407
+ <li><strong>Model</strong>: 模型游走模式</li>
408
+ <li><strong>Floorplan</strong>: 模型查看模式</li>
409
+ <li><strong>Topview</strong>: 户型图模式</li>
410
+ <li><strong>DepthPanorama</strong>: 深度图游走模式</li>
411
+ <li><strong>VRPanorama</strong>: VR眼镜模式</li>
412
+ </ul>
413
+ </div></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="ModelEventType" class="tsd-anchor"></a><h3>Model<wbr/>Event<wbr/>Type</h3><div class="tsd-signature tsd-kind-icon">Model<wbr/>Event<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bvhLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>geometryLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>loaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>materialLoaded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span>shownFloorChange<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:66</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
414
+ <p>模型事件列表</p>
415
+ </div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>具体事件列表 请查看 <a href="../interfaces/five.ModelEventCallback.html">ModelEventCallback</a></p>
416
+ </dd></dl></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>bvh<wbr/>Loaded<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">bvh<wbr/>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:73</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
417
+ <p>模型 bvh树 计算完成</p>
418
+ </div><dl class="tsd-comment-tags"><dt>description</dt><dd><p>bvh 树用于高效的碰撞检测,可以在 <code>model.bvh</code> 属性来设置是否开启。默认开启。
419
+ bvh 树计算需要一定事件,可能会暂时影响一些性能。计算完毕后,会对碰撞检测带来质的提升。</p>
420
+ </dd></dl></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>error<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:94</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
421
+ <p>内部错误</p>
422
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <span class="tsd-signature-type">Error</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
423
+ <p>错误对象</p>
424
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>geometry<wbr/>Loaded<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">geometry<wbr/>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:76</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
425
+ <p>模型三角面片结构加载完成</p>
426
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>loaded<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:82</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
427
+ <p>模型加载完成</p>
428
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>material<wbr/>Loaded<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">material<wbr/>Loaded<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:79</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
429
+ <p>模型材质结构加载完成</p>
430
+ </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li><li class="tsd-parameter"><h5>shown<wbr/>Floor<wbr/>Change<span class="tsd-signature-symbol">:</span>function</h5><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-type-literal"><li class="tsd-signature tsd-kind-icon">shown<wbr/>Floor<wbr/>Change<span class="tsd-signature-symbol">(</span>shownFloor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, totalFloorLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/loaders/model/index.ts:88</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
431
+ <p>显示楼层改变</p>
432
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>shownFloor: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
433
+ <p>显示的楼层</p>
434
+ </div></div></li><li><h5>totalFloorLength: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="NetWorkMeta" class="tsd-anchor"></a><h3>Net<wbr/>Work<wbr/>Meta</h3><div class="tsd-signature tsd-kind-icon">Net<wbr/>Work<wbr/>Meta<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>costs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>headers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>requestTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>responseTime<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/utils/ajax.ts:23</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5>costs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>headers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-index-signature"><h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></li><li class="tsd-parameter"><h5>request<wbr/>Time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>response<wbr/>Time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="NetworkState" class="tsd-anchor"></a><h3>Network<wbr/>State</h3><div class="tsd-signature tsd-kind-icon">Network<wbr/>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ok&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;preload&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;forbidden&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/utils/ajax.ts:35</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="NetworkType" class="tsd-anchor"></a><h3>Network<wbr/>Type</h3><div class="tsd-signature tsd-kind-icon">Network<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;XMLHttpRequest&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Script&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Image&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Link&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/utils/ajax.ts:34</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="ParseWorkOptions" class="tsd-anchor"></a><h3>Parse<wbr/>Work<wbr/>Options</h3><div class="tsd-signature tsd-kind-icon">Parse<wbr/>Work<wbr/>Options<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>baseURL<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>jsonp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>modelBvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>shortPath<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/work/parse.ts:17</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> baseURL<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
435
+ <p>重写 work 中的资源前缀</p>
436
+ </div></div></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> jsonp<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
437
+ <p>work 中的资源使用 jsonp 方式发布</p>
438
+ </div></div></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> model<wbr/>Bvh<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
439
+ <p>work 中模型是否计算bvh碰撞数,默认计算 true</p>
440
+ </div></div></li><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> short<wbr/>Path<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
441
+ <p>work 中的资源地址使用短地址</p>
442
+ </div></div></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-parent-kind-module"><a id="SubscribeEventMap" class="tsd-anchor"></a><h3>Subscribe<wbr/>Event<wbr/>Map</h3><div class="tsd-signature tsd-kind-icon">Subscribe<wbr/>Event<wbr/>Map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/utils/subscribe.ts:6</li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-index-signature"><h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Variables</h2><section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module"><a id="PROXY_CONTROLLER_EVENT_NAMES" class="tsd-anchor"></a><h3>PROXY_<wbr/>CONTROLLER_<wbr/>EVENT_<wbr/>NAMES</h3><div class="tsd-signature tsd-kind-icon">PROXY_<wbr/>CONTROLLER_<wbr/>EVENT_<wbr/>NAMES<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;cameraDirectionUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;cameraUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;cameraPositionUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoSelected&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;moveToPano&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;moveToPanoCanceled&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoWillArrive&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;movingToPano&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoArrived&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoWillLoad&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoLoaded&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panoLoadError&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;initAnimationEnded&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;initAnimationWillStart&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;gesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsTapGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;tapGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsPanGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsInteriaPan&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;panGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;interiaPan&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsPinchGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;pinchGesture&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsMouseWheel&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;mouseWheel&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;wantsShowIntersectionOnModel&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;intersectionOnModelUpdate&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;intersectionHidden&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureStartLoad&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureLoading&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureAbort&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureLoaded&quot;</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;textureError&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/events.ts:10</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Functions</h2><section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module"><a id="defaultImageURLTransform" class="tsd-anchor"></a><h3>default<wbr/>ImageURLTransform</h3><ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module"><li class="tsd-signature tsd-kind-icon">default<wbr/>ImageURLTransform<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.ImageURLOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageURLOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/utils/imageURL.ts:91</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
443
+ <p>URL 地址的转换</p>
444
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>url: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
445
+ <p>url 原地址</p>
446
+ </div></div></li><li><h5>options: <a href="../interfaces/five.ImageURLOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageURLOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
447
+ <p>url 转换参数</p>
448
+ </div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div><p>url 转换结果</p>
449
+ </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module"><a id="getViewportScale" class="tsd-anchor"></a><h3>get<wbr/>Viewport<wbr/>Scale</h3><ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module"><li class="tsd-signature tsd-kind-icon">get<wbr/>Viewport<wbr/>Scale<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/application/getViewportScale.ts:15</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module"><a id="parseWork" class="tsd-anchor"></a><h3>parse<wbr/>Work</h3><ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module"><li class="tsd-signature tsd-kind-icon">parse<wbr/>Work<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, options<span class="tsd-signature-symbol">?: </span><a href="five.html#ParseWorkOptions" class="tsd-signature-type" data-tsd-kind="Type alias">ParseWorkOptions</a>, urlTransform<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, absolute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, relative<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in lib/five/work/parse.ts:481</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
450
+ <p>解析 Work 数据</p>
451
+ </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>obj: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
452
+ <p>work 数据,从如数开发者平台获取</p>
453
+ </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="five.html#ParseWorkOptions" class="tsd-signature-type" data-tsd-kind="Type alias">ParseWorkOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
454
+ <p>配置参数, 可以在此二次设置 baseURL 等参数</p>
455
+ </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> urlTransform: <span class="tsd-signature-symbol">(</span>origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, absolute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, relative<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>origin<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, absolute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, relative<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>origin: <span class="tsd-signature-type">string</span></h5></li><li><h5>absolute: <span class="tsd-signature-type">string</span></h5></li><li><h5>relative: <span class="tsd-signature-type">string</span></h5></li><li><h5>type: <span class="tsd-signature-type">&quot;panorama&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;model&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;texture&quot;</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <a href="../classes/five.Work.html" class="tsd-signature-type" data-tsd-kind="Class">Work</a></h4><div><ul>
456
+ <li>签署过的 Work 数据结构</li>
457
+ </ul>
458
+ </div></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="five.html">five</a><ul><li class=" tsd-kind-namespace tsd-parent-kind-module"><a href="five.SubscribeMixinType.html">Subscribe<wbr/>Mixin<wbr/>Type</a></li></ul></li><li class=" tsd-kind-module"><a href="gltf_loader.html">gltf-<wbr/>loader</a></li><li class=" tsd-kind-module"><a href="line.html">line</a></li><li class=" tsd-kind-module"><a href="react.html">react</a></li><li class=" tsd-kind-module"><a href="server.html">server</a></li><li class=" tsd-kind-module"><a href="sticker.html">sticker</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.AnimationFrameLoop.html" class="tsd-kind-icon">Animation<wbr/>Frame<wbr/>Loop</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVH.html" class="tsd-kind-icon">BVH</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVHNode.html" class="tsd-kind-icon">BVHNode</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.BVHVector3.html" class="tsd-kind-icon">BVHVector3</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Camera.html" class="tsd-kind-icon">Camera</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Five.html" class="tsd-kind-icon">Five</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.InternalWebGLRenderer.html" class="tsd-kind-icon">Internal<wbr/>WebGLRenderer</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Model.html" class="tsd-kind-icon">Model</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.NetworkSubscribe.html" class="tsd-kind-icon">Network<wbr/>Subscribe</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMContainer.html" class="tsd-kind-icon">PBMContainer</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMGroup.html" class="tsd-kind-icon">PBMGroup</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMMaterial.html" class="tsd-kind-icon">PBMMaterial</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.PBMMesh.html" class="tsd-kind-icon">PBMMesh</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Scene.html" class="tsd-kind-icon">Scene</a></li><li class="tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter"><a href="../classes/five.Subscribe.html" class="tsd-kind-icon">Subscribe</a></li><li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/five.Work.html" class="tsd-kind-icon">Work</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.AddableObject.html" class="tsd-kind-icon">Addable<wbr/>Object</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.AnimationFrame.html" class="tsd-kind-icon">Animation<wbr/>Frame</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.BVHIntersect.html" class="tsd-kind-icon">BVHIntersect</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.CameraPose.html" class="tsd-kind-icon">Camera<wbr/>Pose</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.DepthPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Depth<wbr/>Panorama<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.EventCallback.html" class="tsd-kind-icon">Event<wbr/>Callback</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.FiveInitArgs.html" class="tsd-kind-icon">Five<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.FloorplanControllerCustomInitArgs.html" class="tsd-kind-icon">Floorplan<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ImageOptions.html" class="tsd-kind-icon">Image<wbr/>Options</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ImageURLOptions.html" class="tsd-kind-icon">ImageURLOptions</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.IntersectMeshInterface.html" class="tsd-kind-icon">Intersect<wbr/>Mesh<wbr/>Interface</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Intersection.html" class="tsd-kind-icon">Intersection</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ModelControllerCustomInitArgs.html" class="tsd-kind-icon">Model<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.ModelEventCallback.html" class="tsd-kind-icon">Model<wbr/>Event<wbr/>Callback</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.MovePanoOptions.html" class="tsd-kind-icon">Move<wbr/>Pano<wbr/>Options</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PBMPanoPicture.html" class="tsd-kind-icon">PBMPano<wbr/>Picture</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PBMParameters.html" class="tsd-kind-icon">PBMParameters</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoCircleMeshInterface.html" class="tsd-kind-icon">Pano<wbr/>Circle<wbr/>Mesh<wbr/>Interface</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.PanoramaLikeControllerCustomInitArgs.html" class="tsd-kind-icon">Panorama<wbr/>Like<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Pose.html" class="tsd-kind-icon">Pose</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.Scissor.html" class="tsd-kind-icon">Scissor</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.State.html" class="tsd-kind-icon">State</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.TextureOptions.html" class="tsd-kind-icon">Texture<wbr/>Options</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.TopviewControllerCustomInitArgs.html" class="tsd-kind-icon">Topview<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.VRPanoramaControllerCustomInitArgs.html" class="tsd-kind-icon">VRPanorama<wbr/>Controller<wbr/>Custom<wbr/>Init<wbr/>Args</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkCubeImage.html" class="tsd-kind-icon">Work<wbr/>Cube<wbr/>Image</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkImage.html" class="tsd-kind-icon">Work<wbr/>Image</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkInitial.html" class="tsd-kind-icon">Work<wbr/>Initial</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkModel.html" class="tsd-kind-icon">Work<wbr/>Model</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkObserver.html" class="tsd-kind-icon">Work<wbr/>Observer</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkTile.html" class="tsd-kind-icon">Work<wbr/>Tile</a></li><li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/five.WorkVideo.html" class="tsd-kind-icon">Work<wbr/>Video</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ControllerCustomInitTypes" class="tsd-kind-icon">Controller<wbr/>Custom<wbr/>Init<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ControllerEventTypes" class="tsd-kind-icon">Controller<wbr/>Event<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#EventTypes" class="tsd-kind-icon">Event<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePlugin" class="tsd-kind-icon">Five<wbr/>Plugin</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePluginInit" class="tsd-kind-icon">Five<wbr/>Plugin<wbr/>Init</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#FivePluginInstance" class="tsd-kind-icon">Five<wbr/>Plugin<wbr/>Instance</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#GestureTypes" class="tsd-kind-icon">Gesture<wbr/>Types</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWork" class="tsd-kind-icon">Loose<wbr/>Work</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkInitial" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Initial</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkModel" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Model</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkObserver" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Observer</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkPanorama" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Panorama</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#LooseWorkVideo" class="tsd-kind-icon">Loose<wbr/>Work<wbr/>Video</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter"><a href="five.html#Mirror" class="tsd-kind-icon">Mirror</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#Mode" class="tsd-kind-icon">Mode</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ModelEventType" class="tsd-kind-icon">Model<wbr/>Event<wbr/>Type</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetWorkMeta" class="tsd-kind-icon">Net<wbr/>Work<wbr/>Meta</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetworkState" class="tsd-kind-icon">Network<wbr/>State</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#NetworkType" class="tsd-kind-icon">Network<wbr/>Type</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#ParseWorkOptions" class="tsd-kind-icon">Parse<wbr/>Work<wbr/>Options</a></li><li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="five.html#SubscribeEventMap" class="tsd-kind-icon">Subscribe<wbr/>Event<wbr/>Map</a></li><li class="tsd-kind-variable tsd-parent-kind-module"><a href="five.html#PROXY_CONTROLLER_EVENT_NAMES" class="tsd-kind-icon">PROXY_<wbr/>CONTROLLER_<wbr/>EVENT_<wbr/>NAMES</a></li><li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#defaultImageURLTransform" class="tsd-kind-icon">default<wbr/>ImageURLTransform</a></li><li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#getViewportScale" class="tsd-kind-icon">get<wbr/>Viewport<wbr/>Scale</a></li><li class="tsd-kind-function tsd-parent-kind-module"><a href="five.html#parseWork" class="tsd-kind-icon">parse<wbr/>Work</a></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li><li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li><li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>