Google. Maps. TerrainOptions
Encapsulates terrain parameters.
Summary
Public attributes |
|
---|---|
AltitudePrecision = 0.01f
|
float
The vertical precision of terrain altitudes in meters. Possible values: between 0.01 (cm level precision) and 10000 (10-kilometer level precision).
|
TerrainMeshMetersPerPoint = 1
|
float
|
Public attributes
AltitudePrecision
float AltitudePrecision = 0.01f
The vertical precision of terrain altitudes in meters. Possible values: between 0.01 (cm level precision) and 10000 (10-kilometer level precision).
TerrainMeshMetersPerPoint
float TerrainMeshMetersPerPoint = 1
Specifies the target resolution of each generated UnityTerrain tiles in meters per point.
The actual resolution of each terrain tile may differ from the provided value. Unity UnityEngine.Terrain tiles have square height maps with their resolution as a power of 2 + 1. The MapsUnity SDK rounds the provided value to the nearest power of 2 + 1 to meet this requirement.
When used with Mixed Zoom, this value is automatically doubled for each increment zoom level is lowered.