fsMapViewSetWeatherRadarStabilization
This function can be used to enable or disable the radar stabilization on the pitch and/or bank axis. When the stabilization is enable around an axis, the radar keeps the tilt set for this axis (as set by fsMapViewSetWeatherRadarTiltInRadians), and - if the angle reaches the limit set by fsMapViewSetWeatherRadarPitchLimitsInRadians or fsMapViewSetWeatherRadarBankLimitsInRadians - the angle is fixed to the set limit.
Syntax
bool fsMapViewSetWeatherRadarStabilization(
FsContext ctx,
FsTextureId id,
bool bPitch,
bool bBank
)
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. |
bPitch |
Enable (true) or disable (false) the stabilization around pitch axis. Default value is true. |
bBank |
Enable (true) or disable (false) the stabilization around bank axis. Default value is true. |
Return Values
Returns true if successful, otherwise it will return false.
Remarks
N/A
0/255