zoomPitch beta
Function of @v12-engine/client
ts
export declare function zoomPitch(at?: number, pitch?: number): (distance: number) => number;How steep a game's view is as it zooms when the game says nothing of it (RtsCameraOptions.pitch, pitchCurve): the examples' (apps/examples, "Every pass at once"), pitch degrees at at cells away and half a degree steeper for each cell farther, flatter as it comes in, from 15 to 56 degrees: zoomed all the way out it stays at an angle, as Warcraft III's does, never looking straight down. At the usual zoom range: 25 at 12 cells, 35 at 32, 43 at 48