This function can be used to specify the angle of the cone in which the weather radar will display rainfall. Note that this is only useful if the fsMapViewSetWeatherRadarMode has been set to horizontal or vertical.

 

 

Syntax
bool fsMapViewSetWeatherRadarConeAngleInRadians(
    FsContext ctx,
    FsTextureId id,
    float fConeAngle
    )

 

Members
ParametersDescription
ctxA value of type FsContext provided as an argument of the gauge callback.
idThe MapView render ID as returned by the function fsMapViewCreate.
fConeAngleThe angle of the “cone of vision” for the weather radar, expressed in radians, from 0 to \(\frac{2}{\pi}\).

 

Return Values

Returns false if:

  • no texture matches the given MapView ID
  • the ctx is invalid

Otherwise it will return true.

 

 

Remarks

N/A