fsMapViewSet3D
This function can be used to enable or disable 3D mode for the MapView.
Syntax
bool fsMapViewSet3D(
FsContext ctx,
FsTextureId id,
bool bEnable
)
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 . |
bEnable |
Set to true to enable 3D mode, or false to disable it. |
Return Values
Returns false if:
- no texture matches the given MapView ID
- the
ctx
is invalid
Otherwise it will return true.
Remarks
The image below shows the difference between the 2D and 3D views:
See Also