[in, out] VARIANT – Allows defining the value of a specified parameter in the TerraExplorer options.
Each parameter is accessed by a unique identification string. To set or get the value of a certain parameter, assign values to or from ITerraExplorer51.OptionParam(“ParameterString”),
e.g., ITerraExplorer51.OptionParam(“FollowGround”) = TRUE
The following table describes the supported parameter string values and the respective parameter value options:
paramName |
[In/Out] Type |
pVal |
General |
||
"UseTerrainFadeIfAvailable" |
[in, out] bool |
A Boolean that determines whether terrain fade is activated. |
"TerrainModelQuality" |
[in, out] BSTR |
Select the resolution of the polygonal terrain model. Use any of the following values:
|
Navigation |
||
"TiltAffectsAltitude" |
[in, out] bool |
A Boolean that determines whether the plane tilt affects the altitude. |
"FollowGround" |
[in, out] bool |
A Boolean that determines whether the plane maintains a constant altitude above the ground. |
Units |
||
"Speed" |
[in, out] int |
Select the speed display units. Use any of the following values:
|
"AltitudeAndDistance" |
[in, out] int |
Select the altitude and distance display units. Use any of the following values:
|
"AltitudeType" |
[in, out] int |
Select the Altitude Type display units. Use any of the following values:
|
"LatLongCoordinates" |
[in, out] int |
Select the Lat-Long Coordinates display units. Use any of the following values:
|
Head Up Display |
||
"HeadUpDisplay" |
[in, out] int |
Determines the Head Up Display. Use any combination of the following flags:
|
"HudColor" |
[in, out] long |
The color of the HUD in the hexadecimal form: 0x00bbggrr. |
Note: Only some of the TerraExplorer Options parameters are exposed through this property. For other options, use the Settings dialog box.
See: “Using TerraExplorer Options” chapter in the User Manual for additional information.