Skip to main content
Version: 4.x

Enumeration: FlexibleWheelZoomType

Beta

Sets mouse wheel initiated action.

Modes:

'ToTarget' - zooms just to the current target (center of the screen) of the camera.

'PastCursor' - zooms in the direction of the ray coming from camera through cursor screen position, allows going through objects.

'ToCursor' - mouse wheel scroll zooms towards the point on the model where cursor is hovering over, doesn't allow going through objects.

Default is 'zoomPastCursor'.

Enumeration Members

Auto

Auto: "auto"

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleWheelZoomType.ts:25


Center

Center: "center"

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleWheelZoomType.ts:22


PastCursor

PastCursor: "pastCursor"

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleWheelZoomType.ts:23


ToCursor

ToCursor: "toCursor"

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleWheelZoomType.ts:24