Options
All
  • Public
  • Public/Protected
  • All
Menu

Class 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.

Hierarchy

  • Navigation

Index

Accessors

Readonly config

The navigation configuration.

Specify what should happen on mouse and touch input

minWalkTargetDistance

minWalkTargetDistance: number

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.

mouseWheelZoomAndWalkBehavior

mouseWheelZoomAndWalkBehavior: 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.

rotationPoint

rotationPoint: Vec3Like

The current rotation point

rotationSensitivity

rotationSensitivity: number

Rotation sensitivity

Sensitivity factor controlling how sensitive the mouse is when doing rotations.

Default 1.0

Generated using TypeDoc