@xtctwins/tctwins-core 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -56,6 +56,12 @@ export declare class NavCubePlugin extends Plugin {
|
|
|
56
56
|
*/
|
|
57
57
|
constructor(viewer: Viewer, cfg?: NavCubePluginConfiguration);
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* 设置相机视角方向
|
|
61
|
+
* @param areaId
|
|
62
|
+
*/
|
|
63
|
+
flyByClick(areaId: number): void;
|
|
64
|
+
|
|
59
65
|
/**
|
|
60
66
|
* Sets if the NavCube is visible.
|
|
61
67
|
*
|
|
@@ -117,6 +117,47 @@ export declare class CameraControl extends Component {
|
|
|
117
117
|
*/
|
|
118
118
|
on(event: "doublePickedNothing", callback: (e?: { canvasPos: number[] }) => void, scope?: any): string;
|
|
119
119
|
|
|
120
|
+
/**
|
|
121
|
+
* 停止漫游
|
|
122
|
+
*/
|
|
123
|
+
setdirectionChangeCancel(): void;
|
|
124
|
+
/**
|
|
125
|
+
* 设置漫游移动速率
|
|
126
|
+
* @param {number} rate
|
|
127
|
+
*/
|
|
128
|
+
set moveRate(rate: Number);
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 漫游向右
|
|
132
|
+
* @param {boolean} go
|
|
133
|
+
*/
|
|
134
|
+
set goRight(go: boolean);
|
|
135
|
+
/**
|
|
136
|
+
* 漫游向左
|
|
137
|
+
* @param {boolean} go
|
|
138
|
+
*/
|
|
139
|
+
set goLeft(go: boolean);
|
|
140
|
+
/**
|
|
141
|
+
* 漫游向上
|
|
142
|
+
* @param {boolean} go
|
|
143
|
+
*/
|
|
144
|
+
set goUp(go: boolean);
|
|
145
|
+
/**
|
|
146
|
+
* 漫游向下
|
|
147
|
+
* @param {boolean} go
|
|
148
|
+
*/
|
|
149
|
+
set goDown(go: boolean);
|
|
150
|
+
/**
|
|
151
|
+
* 漫游向前
|
|
152
|
+
* @param {boolean} go
|
|
153
|
+
*/
|
|
154
|
+
set goForward(go: boolean);
|
|
155
|
+
/**
|
|
156
|
+
* 漫游向后
|
|
157
|
+
* @param {boolean} go
|
|
158
|
+
*/
|
|
159
|
+
set goBackward(go: boolean);
|
|
160
|
+
|
|
120
161
|
/**
|
|
121
162
|
* Sets the current navigation mode.
|
|
122
163
|
*
|