Skip to main content

@novorender/api / FlightControllerParams

Interface: FlightControllerParams

Defined in: @novorender/src/web_app/controller/flight.ts:974

Flight controller initialization parameters

Properties

linearVelocity

linearVelocity: number;

Defined in: @novorender/src/web_app/controller/flight.ts:978

The camera linear velocity factor.

Default Value

1

pickDelay

pickDelay: number;

Defined in: @novorender/src/web_app/controller/flight.ts:988

Delay for pick updates, in milliseconds.

Default Value

200

proportionalCameraSpeed

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

Defined in: @novorender/src/web_app/controller/flight.ts:998

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

rotationalVelocity

rotationalVelocity: number;

Defined in: @novorender/src/web_app/controller/flight.ts:983

The camera rotational velocity factor.

Default Value

1