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 keypointsArray.<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 positionPSV.ExtendedPosition <optional>
markerIdstring <optional>
use the position and tooltip of a marker
pausenumber <optional>
0 pause the animation when reaching this point, will display the tooltip if available
tooltipstring | Object <optional>
-
Properties:
Name Type Argument Default Description startFromClosestboolean <optional>
true start from the closest keypoint instead of the first keypoint
keypointsArray.<PSV.plugins.AutorotateKeypointsPlugin.Keypoint>