Renderer · interface
ThirdPersonCameraOptions
Explained in Hello world.
interface ThirdPersonCameraOptionsimport type { ThirdPersonCameraOptions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
boomDistance | number | |
boomRadius | number | |
boomMinDistance | number | |
positionLambda | number | |
fovLambda | number | |
pitchMin | number | |
pitchMax | number | |
initialPitch | number | |
initialFovYDeg | number | |
boomTimingreadonlyoptional | Partial<BoomTiming> | How fast the arm may change length. Absent keeps the numbers every rig had.MoreThe defaults are written for an arm of several metres, where the speed ceilings bind and
the obstruction is a railing sweeping across for a few frames. On a short arm neither ceiling
binds, only the damping acts, and easing into a wall is the wrong trade — see |
dampRollreadonlyoptional | boolean | Whether the rig damps the roll it is handed. Absent means yes, which every rig had.MoreFalse is for a caller that has already damped it, and that is not a niche: a consumer with a comfort setting on roll applies the same value to a first-person view, so a roll damped again here is damped twice and the setting stops meaning what it is asserted to mean. The rig's own damping exists so a subject snapping between surfaces cannot snap the view; a caller that has solved that itself is not asking for it twice. |