ToolSettings Class

Settings that control the behavior of built-in tools. Applications may modify these values.

Properties

Name Type Description
animationTime Static BeDuration Duration of animations of viewing operations.  
doubleClickTimeout Static BeDuration Two clicks must be within this period to be a double click.  
doubleClickToleranceInches Static number Number of screen inches of movement allowed between clicks to still qualify as a double-click.  
doubleTapTimeout Static BeDuration Two tap must be within this period to be a double tap.  
noMotionTimeout Static BeDuration Duration without movement before a no-motion event is generated.  
preserveWorldUp Static boolean If true, view rotation tool keeps the up vector (worldZ) aligned with screenY.  
startDragDelay Static BeDuration Delay with the mouse down before a drag operation begins.  
startDragDistanceInches Static number Distance in screen inches the cursor must move before a drag operation begins.  
touchMoveDelay Static BeDuration Delay with a touch on the surface before a move operation begins.  
touchMoveDistanceInches Static number Distance in screen inches a touch point must move before being considered motion.  
viewToolPickRadiusInches Static number Radius in screen inches to search for elements that anchor viewing operations.  
walkCameraAngle Static Angle Camera angle enforced for walk tool.  
walkEnforceZUp Static boolean Whether the walk tool enforces worldZ be aligned with screenY  
walkVelocity Static number Speed, in meters per second, for the walk tool.  
wheelLineFactor Static number Scale factor applied for wheel events with "per-line" modifier.  
wheelPageFactor Static number Scale factor applied for wheel events with "per-page" modifier.  
wheelZoomBumpDistance Static number When the zoom-with-wheel tool (with camera enabled) gets closer than this distance to an obstacle, it "bumps" through.  
wheelZoomRatio Static number Scale factor for zooming with mouse wheel.  

Object Literals

Name Description
viewingInertia Static Parameters for viewing operations with inertia (i.e. they continue briefly if used with a throwing action)

Defined in

Last Updated: 10 September, 2019