@types/forge-viewer 7.55.1 → 7.55.2
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.
- forge-viewer/README.md +1 -1
- forge-viewer/index.d.ts +14 -0
- forge-viewer/package.json +3 -3
forge-viewer/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Forge Viewer (https://forge.autodesk.
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forge-viewer.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sat, 20 Nov 2021 18:01:10 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Autodesk`, `THREE`
|
|
14
14
|
|
forge-viewer/index.d.ts
CHANGED
|
@@ -895,6 +895,20 @@ declare namespace Autodesk {
|
|
|
895
895
|
setUseLeftHandedInput(value: boolean): any;
|
|
896
896
|
setZoomTowardsPivot(value: boolean): any;
|
|
897
897
|
getWorldPoint(x: number, y: number): THREE.Vector3;
|
|
898
|
+
/**
|
|
899
|
+
* Get the current world up direction.
|
|
900
|
+
*
|
|
901
|
+
* @returns the current world up direction (normalized)
|
|
902
|
+
*/
|
|
903
|
+
getWorldUpVector(): THREE.Vector3;
|
|
904
|
+
/**
|
|
905
|
+
* Change the current world up direction.
|
|
906
|
+
*
|
|
907
|
+
* @param up - the new world up direction
|
|
908
|
+
* @param reorient - if true, make sure the camera up is oriented towards the world up direction.
|
|
909
|
+
* @param force - if true, will set the new direction regardless of navigation lock
|
|
910
|
+
*/
|
|
911
|
+
setWorldUpVector(up: THREE.Vector3, reorient: boolean, force: boolean): void;
|
|
898
912
|
screenToViewport(x: number, y: number): THREE.Vector3;
|
|
899
913
|
toOrthographic(): void;
|
|
900
914
|
toPerspective(): void;
|
forge-viewer/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/forge-viewer",
|
|
3
|
-
"version": "7.55.
|
|
3
|
+
"version": "7.55.2",
|
|
4
4
|
"description": "TypeScript definitions for Forge Viewer",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forge-viewer",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
44
|
-
"typeScriptVersion": "3.
|
|
43
|
+
"typesPublisherContentHash": "22685aa6ab17ba17dc5cf1e86bbdba6ea8044da0e0a39cf0ed3a48d9ef52e6ef",
|
|
44
|
+
"typeScriptVersion": "3.8"
|
|
45
45
|
}
|