On this page
fsMapViewSetWeatherRadarTiltInRadians
This function can be used to set the tilt of the radar by setting a pitch, a bank and a heading, in radians.
Syntax
bool fsMapViewSetWeatherRadarTiltInRadians(
FsContext ctx,
FsTextureId id,
double dPitch,
double dBank,
double dHeading
)
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. |
dPitch | The radar pitch you wish to set expressed in radians. The value is clamped betweeen \(-\pi\) and \(\pi\), with a default value of 0. |
dBank | The radar bank you wish to set expressed in radians. The value is clamped betweeen \(-\pi\) and \(\pi\), with a default value of 0. |
dHeading | The radar heading you wish to set expressed in radians. The value is clamped betweeen \(-\pi\) and \(\pi\), with a default value of 0. |
Return Values
Returns true if successful, otherwise it will return false.
Remarks
N/A