namespace Pegasus { /// /// Flythrough constants /// public static class PegasusConstants { /// /// Version information /// public static string MajorVersion = "2"; public static string MinorVersion = "5.3"; /// /// The type of flythrough /// public enum FlythroughType { SingleShot, Looped } /// /// What to do when the thing is finished - onlt relevent when it is a one shot flythrough /// public enum FlythroughEndAction { StopFlythrough, QuitApplication, PlayNextPegasus } /// /// The various states the flythrough manager can be in /// public enum FlythroughState { Stopped, Initialising, Started, Paused } /// /// The mechanism the system uses to check for minimum heights /// public enum HeightCheckType { Collision, Terrain, None } /// /// The mechanism the POI uses to check for minimum heights /// public enum PoiHeightCheckType { ManagerSettings, Collision, Terrain, None } /// /// Type of POI /// public enum PoiType { Manual, AutoGenerated } /// /// Default low offset /// public const float FlybyOffsetDefaultHeight = 1.8f; /// /// Default low offset /// public const float FlybyOffsetLow = 5f; /// /// Default high offset /// public const float FlybyOffsetHigh = 40f; /// /// Lookat type /// public enum LookatType { Path, Target } /// /// Default values for speed /// public enum SpeedType { ReallySlow, Slow, Medium, Fast, ReallyFast, Stratospheric, Custom } /// /// Really slow speed - walking speed - 0.1ms /// public const float SpeedReallySlow = 0.01f; /// /// Slow speed - walking speed - 1.4ms /// public const float SpeedSlow = 1.4f; /// /// Fast walking speed /// public const float SpeedMedium = 8f; /// /// Fast speed /// public const float SpeedFast = 25.0f; /// /// Fast speed /// public const float SpeedReallyFast = 70.0f; /// /// Stratpspheric speed /// public const float SpeedStratospheric = 250.0f; /// /// The type of easing to apply - none == linear /// public enum EasingType { Linear, EaseIn, EaseOut, EaseInOut } /// /// The target framerate /// public enum TargetFrameRate { NineFps, FifteenFps, TwentyFourFps, TwentyFiveFps, ThirtyFps, SixtyFps, NinetyFps, MaxFps, LeaveAlone }; #region Pegasus animation constants public enum PegasusAnimationState { Idle, Walking, Running }; #endregion #region Pegasus trigger constants /// /// The type of POI trigger /// public enum PoiPegasusTriggerAction { PlayPegasus, PausePegasus, ResumePegasus, StopPegasus, DoNothing } /// /// The type of POI trigger /// public enum PoiHeliosTriggerAction { FadeIn, FadeOut, DoNothing } /// /// The type of POI trigger /// public enum PoiRotateTowardsTriggerAction { Rotate, DoNothing } /// /// The type of POI trigger /// public enum PoiAnimationTriggerAction { PlayAnimation, StopAnimation, DoNothing } #endregion } }