18 lines
434 B
C#
18 lines
434 B
C#
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;
|
|
}
|
|
}
|