AR + GPS Location  3.0.0
All Classes Namespaces Functions Variables Properties Events Pages
LocationPath.cs
1 using UnityEngine;
2 using UnityEngine.Serialization;
3 
4 namespace ARLocation
5 {
10  [CreateAssetMenu(fileName = "AR Location Path", menuName = "AR+GPS/Path")]
11  public class LocationPath : ScriptableObject
12  {
16  [FormerlySerializedAs("locations")] [Tooltip("The geographical locations that the path will interpolate.")]
17  public Location[] Locations;
18 
19  [FormerlySerializedAs("splineType")] [Tooltip("The type of the spline used")]
20  public SplineType SplineType = SplineType.CatmullromSpline;
21 
25  [FormerlySerializedAs("alpha")] [Tooltip("The path's alpha/tension factor.")]
26  public float Alpha = 0.5f;
27 
31  [FormerlySerializedAs("sceneViewScale")] public float SceneViewScale = 1.0f;
32  }
33 }
ARLocation.LocationPath
Data used to construct a spline passing trough a set of geographical locations.
Definition: LocationPath.cs:12
ARLocation.LocationPath.SceneViewScale
float SceneViewScale
The scale used in the editor scene viewer for drawing the path.
Definition: LocationPath.cs:31
ARLocation.Location
Represents a geographical location.
Definition: Location.cs:19
ARLocation.LocationPath.Alpha
float Alpha
The path's alpha/tension factor.
Definition: LocationPath.cs:26
ARLocation.LocationPath.Locations
Location[] Locations
The geographical locations that the path will interpolate.
Definition: LocationPath.cs:17
ARLocation
Definition: ARLocationConfigInspector.cs:7