On this page
fsMapViewSetWeatherRadarPitchLimitsInRadians
This function can be used to set the minimum and maximum pitch limits for the radar.
Syntax
bool fsMapViewSetWeatherRadarPitchLimitsInRadians(
FsContext ctx,
FsTextureId id,
float fMin,
float fMax
)Members
| Parameters | Description |
|---|---|
ctx | A value of type FsContext provided as an argument of the gauge callback. |
id | The MapView render ID as returned by the function fsMapViewCreate. |
fMin | The minimum pitch value allowed, in radians. Values are clamped between \(-\pi\) and \(\pi\), with a default value of \(\frac{-\pi}{6}\). |
fMax | The maximum pitch value allowed, in radians. Values are clamped between \(-\pi\) and \(\pi\), with a default value of \(\frac{\pi}{6}\). |
Return Values
Returns true if successful, otherwise it will return false. Note, setting fMax to less than fMin will cause a failure.
Remarks
N/A
