Replaces the standard autorotate animation by a smooth transition between multiple points
Name | Type | Description |
---|---|---|
psv |
PSV.Viewer | |
options |
PSV.plugins.AutorotateKeypointsPlugin.Options | optional |
Extends
Members
-
Unique identifier of the plugin
-
-
keypoints Array.<PSV.plugins.AutorotateKeypointsPlugin.Keypoint>
-
keypoints
-
psv PSV.Viewer readonly inherited overrides
Reference to main controller
-
Methods
-
destroy () package overrides
-
-
init () package overrides
-
-
Changes the keypoints
-
Name Type Description keypoints
Array.<PSV.plugins.AutorotateKeypointsPlugin.Keypoint>
Type Definitions
-
PSV.plugins.AutorotateKeypointsPlugin.Keypoint PSV.ExtendedPosition | string | PSV.plugins.AutorotateKeypointsPlugin.KeypointObject
Definition of keypoints for automatic rotation, can be a position object, a marker id or an keypoint object
-
-
Properties:
Name Type Argument Default Description position
PSV.ExtendedPosition <optional>
markerId
string <optional>
use the position and tooltip of a marker
pause
number <optional>
0 pause the animation when reaching this point, will display the tooltip if available
tooltip
string | Object <optional>
-
Properties:
Name Type Argument Default Description startFromClosest
boolean <optional>
true start from the closest keypoint instead of the first keypoint
keypoints
Array.<PSV.plugins.AutorotateKeypointsPlugin.Keypoint>