Skip to main content

interface.FlightControllerParams

API > FlightControllerParams

Interface: FlightControllerParams

Flight controller initialization parameters

Properties

enableShiftModifierOnWheel

enableShiftModifierOnWheel: boolean

Option to enable shift to modify mouse wheel speed.

Default Value

false

Source

@novorender/web_app/controller/flight.ts:516


linearVelocity

linearVelocity: number

The camera linear velocity factor.

Default Value

1

Source

@novorender/web_app/controller/flight.ts:501


pickDelay

pickDelay: number

Delay for pick updates, in milliseconds.

Default Value

200

Source

@novorender/web_app/controller/flight.ts:511


proportionalCameraSpeed

proportionalCameraSpeed: null | { max: number; min: number; }

When set, the controller will sample the distance to the pixel under the mouse cursor, or central pinch point, and move the camera with speed proportional to that distance. The min and max determines the bounds of how slow/fast it is allowed to move.

Setting this to null disables this feature, using a constant speed factor of 1.0.

Default Value

null

Source

@novorender/web_app/controller/flight.ts:526


rotationalVelocity

rotationalVelocity: number

The camera rotational velocity factor.

Default Value

1

Source

@novorender/web_app/controller/flight.ts:506