Navigation
-
class
cee.
Navigation
() Class for controlling interactive navigation in a view
You can specify the navigation scheme for the left mouse button, set the rotation point and control the minimum walk target distance (for Walk navigation).
You can access the navigation object with the
View.navigation
property.
Constructors
Accessors
Accessors
-
Navigation.
config
() The navigation configuration.
Specify what should happen on mouse and touch input
Return type: NavigationConfig
-
Navigation.
minWalkTargetDistance
() The minimum walk target minTargetDistance
For walk navigation, this is used to control how much the navigation should slow down when getting close to the rotation point. The walk speed is dynamic so you can interact with large models. Depending on your model size, you might want to adjust this parameter.
The default is undefined (automatic), which will be interpreted as 1/10 of the current view bounding box.
Return type: number
-
Navigation.
minWalkTargetDistance
(minTargetDistance) Arguments: - minTargetDistance (
number
) – None
Return type: void
- minTargetDistance (
-
Navigation.
mouseWheelZoomAndWalkBehavior
() Determine mouse wheel zoom and walk behavior
This setting will only have effect if mouse wheel is configured to perform zoom or walk navigation.
Return type: MouseWheelZoomAndWalkBehavior
-
Navigation.
mouseWheelZoomAndWalkBehavior
(behavior) Arguments: - behavior (
MouseWheelZoomAndWalkBehavior
) – None
Return type: void
- behavior (
-
Navigation.
rotationPoint
() The current rotation point
Return type: Vec3Like