@realsee/five 6.2.0-alpha.14 → 6.2.0-alpha.15
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/docs/assets/search.js +1 -1
- package/docs/interfaces/five.EventCallback.html +66 -55
- package/docs/types/five.GestureTypes.html +1 -1
- package/docs/types/five.LegacyEventType.html +63 -54
- package/five/index.d.ts +16 -1
- package/five/index.js +5 -5
- package/five/index.mjs +18 -14
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +3 -3
- package/line/index.js +3 -3
- package/line/index.mjs +3 -3
- package/package.json +1 -1
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +3 -3
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +2 -2
- package/umd/five-react.js +2 -2
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five-vue.js +2 -2
- package/umd/five.js +5 -5
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
package/five/index.d.ts
CHANGED
|
@@ -1117,7 +1117,7 @@ export declare interface GestureEvent extends StateEvent {
|
|
|
1117
1117
|
overallVelocityY: number;
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
1120
|
-
export declare type GestureTypes = "pan" | "tap" | "pinch" | "press" | "mouseWheel" | "mouseMove";
|
|
1120
|
+
export declare type GestureTypes = "pan" | "tap" | "dbltap" | "pinch" | "press" | "mouseWheel" | "mouseMove";
|
|
1121
1121
|
|
|
1122
1122
|
export declare function getViewportScale(): number;
|
|
1123
1123
|
|
|
@@ -1289,6 +1289,21 @@ export declare type LegacyEventType = {
|
|
|
1289
1289
|
* @param final - 是否手势结束
|
|
1290
1290
|
*/
|
|
1291
1291
|
tapGesture(raycaster: THREE_2.Raycaster, tapPosition: THREE_2.Vector2, final: boolean): void;
|
|
1292
|
+
/**
|
|
1293
|
+
* 意图要触发 dlbtap 手势(点击屏幕), 可以通过 `return false` 阻止
|
|
1294
|
+
* @param raycaster - 点击对应的三维射线
|
|
1295
|
+
* @param tapPosition - 点击对应的屏幕位置
|
|
1296
|
+
* @param final - 是否手势结束
|
|
1297
|
+
* @returns 可以通过 `return false` 阻止
|
|
1298
|
+
*/
|
|
1299
|
+
wantsDblTapGesture(raycaster: THREE_2.Raycaster, tapPosition: THREE_2.Vector2, final: boolean): void | false;
|
|
1300
|
+
/**
|
|
1301
|
+
* dbltap 手势(点击屏幕) 被触发
|
|
1302
|
+
* @param raycaster - 点击对应的三维射线
|
|
1303
|
+
* @param tapPosition - 点击对应的屏幕位置
|
|
1304
|
+
* @param final - 是否手势结束
|
|
1305
|
+
*/
|
|
1306
|
+
dblTapGesture(raycaster: THREE_2.Raycaster, tapPosition: THREE_2.Vector2, final: boolean): void;
|
|
1292
1307
|
/**
|
|
1293
1308
|
* 意图要触发 pinch 手势(双指缩放),可以通过 `return false` 阻止
|
|
1294
1309
|
* @param scale - 缩放数值
|