This function can be used to select a color which will be used to color the uncolored part of any MapView, such as the sky in 3D mode. 



bool fsMapViewSetBackgroundColor(
    FsContext ctx,
    FsTextureId id,
    FsColor color



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.
color An FsColor struct that is used to set the background colour.



Return Values

Returns false if:

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

Otherwise it will return true.






See Also