Skip to main content

Type Alias: APPitchDirectorOptions

APPitchDirectorOptions = object

Defined in: src/sdk/autopilot/directors/APPitchDirector.ts:8

Options for APPitchDirector

Properties

maxPitch?

optional maxPitch: number | () => number

Defined in: src/sdk/autopilot/directors/APPitchDirector.ts:14

The positive maximum pitch angle, in degrees, to clamp the pitch to, or a function that returns it (default: 20).


minPitch?

optional minPitch: number | () => number

Defined in: src/sdk/autopilot/directors/APPitchDirector.ts:12

The negative minimum pitch angle, in degrees, to clamp the pitch to, or a function that returns it (default: -15).


pitchIncrement?

optional pitchIncrement: number | () => number

Defined in: src/sdk/autopilot/directors/APPitchDirector.ts:10

The pitch increment, in degrees, to use when the user presses the pitch inc/dec keys, or a function that returns it (default: 0.5).


quantisePitch?

optional quantisePitch: boolean

Defined in: src/sdk/autopilot/directors/APPitchDirector.ts:16

Whether to always quantise the pitch in terms of APPitchDirectorOptions.pitchIncrement.