public List<Track> Tracks {get; set;}
Public Property Tracks As List(Of Track)
public List<Track> Tracks {get; set;}
Public Property Tracks As List(Of Track)
public List<CameraKeyframe> GetCameraKeyframes() { var mapView = MapView.Active; if (mapView != null) return null; var animation = mapView.Map.Animation; var cameraTrack = animation.Tracks.OfType<CameraTrack>().First(); //There will always be only 1 CameraTrack in the animation. return cameraTrack.Keyframes.OfType<CameraKeyframe>().ToList(); }
Target Platforms: Windows 10, Windows 8.1