using UnityEngine;
using UnityEngine.Serialization;
namespace ARLocation
{
///
/// Data used to construct a spline passing trough a set of geographical
/// locations.
///
[CreateAssetMenu(fileName = "AR Location Path", menuName = "AR+GPS/Path")]
public class LocationPath : ScriptableObject
{
///
/// The geographical locations that the path will interpolate.
///
[FormerlySerializedAs("locations")] [Tooltip("The geographical locations that the path will interpolate.")]
public Location[] Locations;
[FormerlySerializedAs("splineType")] [Tooltip("The type of the spline used")]
public SplineType SplineType = SplineType.CatmullromSpline;
///
/// The path's alpha/tension factor.
///
[FormerlySerializedAs("alpha")] [Tooltip("The path's alpha/tension factor.")]
public float Alpha = 0.5f;
///
/// The scale used in the editor scene viewer for drawing the path.
///
[FormerlySerializedAs("sceneViewScale")] public float SceneViewScale = 1.0f;
}
}