Skip to main content

interface.FlightControllerParams

API > FlightControllerParams

Interface: FlightControllerParams

Flight controller initialization parameters

Properties

linearVelocity

linearVelocity: number

The camera linear velocity factor.

Default Value

1

Source

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


pickDelay

pickDelay: number

Delay for pick updates, in milliseconds.

Default Value

200

Source

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


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:520


rotationalVelocity

rotationalVelocity: number

The camera rotational velocity factor.

Default Value

1

Source

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