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.navigationproperty.
Constructors
-
cee.Navigation.constructor() - Navigation():
NavigationReturns:
Navigation
Accessors
-
cee.Navigation.config() - get config():
NavigationConfigThe navigation configuration.
Specify what should happen on mouse and touch input
Returns:
NavigationConfig
-
cee.Navigation.minWalkTargetDistance() - get 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.
Returns: number
set minWalkTargetDistance(minTargetDistance: number): voidParameters
minTargetDistance: numberReturns: void
-
cee.Navigation.mouseWheelZoomAndWalkBehavior() - get mouseWheelZoomAndWalkBehavior():
MouseWheelZoomAndWalkBehaviorDetermine mouse wheel zoom and walk behavior
This setting will only have effect if mouse wheel is configured to perform zoom or walk navigation.
Returns:
MouseWheelZoomAndWalkBehaviorset mouseWheelZoomAndWalkBehavior(behavior:MouseWheelZoomAndWalkBehavior): voidParameters
behavior:MouseWheelZoomAndWalkBehaviorReturns: void
-
cee.Navigation.rotationPoint() - get rotationPoint():
Vec3LikeThe current rotation point
Returns:
Vec3Likeset rotationPoint(rotationPoint:Vec3Like): voidParameters
rotationPoint:Vec3LikeReturns: void
-
cee.Navigation.rotationSensitivity() - get rotationSensitivity(): number
Rotation sensitivity
Sensitivity factor controlling how sensitive the mouse is when doing rotations.
Default 1.0
Returns: number
set rotationSensitivity(sensitivity: number): voidParameters
sensitivity: numberReturns: void