Skip to main content

@novorender/web_app / FlightControllerParams

Interface: FlightControllerParams

Flight controller initialization parameters

Properties

linearVelocity

linearVelocity: number;

The camera linear velocity factor.

Default Value

1

Defined in

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


pickDelay

pickDelay: number;

Delay for pick updates, in milliseconds.

Default Value

200

Defined in

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


proportionalCameraSpeed

proportionalCameraSpeed: null | object;

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

Defined in

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


rotationalVelocity

rotationalVelocity: number;

The camera rotational velocity factor.

Default Value

1

Defined in

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