You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace Mapbox.Unity.Map
|
|
|
|
|
{
|
|
|
|
|
using System;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class ElevationModificationOptions
|
|
|
|
|
{
|
|
|
|
|
[Tooltip("Mesh resolution of terrain, results in n x n grid")]
|
|
|
|
|
[Range(2,255)]
|
|
|
|
|
public int sampleCount = 10;
|
|
|
|
|
[Tooltip("Use world relative scale to scale terrain height.")]
|
|
|
|
|
public bool useRelativeHeight = false;
|
|
|
|
|
[Tooltip("Earth radius in Unity units.")]
|
|
|
|
|
public float earthRadius = 1000f;
|
|
|
|
|
}
|
|
|
|
|
}
|