123456789101112131415161718192021222324252627282930313233 |
- using UnityEngine;
- using UnityEngine.Serialization;
- namespace ARLocation
- {
-
-
-
-
- [CreateAssetMenu(fileName = "AR Location Path", menuName = "AR+GPS/Path")]
- public class LocationPath : ScriptableObject
- {
-
-
-
- [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;
-
-
-
- [FormerlySerializedAs("alpha")] [Tooltip("The path's alpha/tension factor.")]
- public float Alpha = 0.5f;
-
-
-
- [FormerlySerializedAs("sceneViewScale")] public float SceneViewScale = 1.0f;
- }
- }
|