using UnityEngine; namespace Gaia { public static class GaiaConstants { public enum RawByteOrder { IBM = 0, Macintosh = 1 } public enum RawBitDepth { Sixteen = 0, Eight = 1 } public enum EnvironmentTarget { UltraLight = 0, MobileAndVR = 1, Desktop = 2, PowerfulDesktop = 3, Custom = 4 } public enum EnvironmentRenderer { BuiltIn = 0, LightWeight2018x = 1, HighDefinition2018x = 2 } public enum EnvironmentSize { FromDefaults = 0, Is256MetersSq = 1, Is512MetersSq = 2, Is1024MetersSq = 3, Is2048MetersSq = 4, Is4096MetersSq = 5, Is8192MetersSq = 6, Is16384MetersSq = 7 } public enum EnvironmentControllerType { FirstPerson = 0, FlyingCamera = 1, ThirdPerson = 2 } public enum ManagerEditorMode { Standard = 0, Advanced = 1, Extensions = 2, ShowMore = 3 } public enum ManagerEditorNewsMode { MoreOnGaia = 0, MoreOnProceduralWorlds = 1 } public enum OperationMode { DesignTime = 0, RuntimeInterval = 1, RuntimeTriggeredInterval = 2 } public enum TerrainOperationType { AddToTerrain = 0, ApplyMaskToSplatmap = 1, ContrastFilter = 2, GrowFeaturesFilter = 3, DeNoiseFilter = 4, HydraulicFilter = 5, MultiplyTerrain = 6, PowerOfFilter = 7, QuantizeFilter = 8, QuantizeCurvesFilter = 9, SetTerrainToHeight = 10, ShrinkFeaturesFilter = 11, SubtractFromTerrain = 12, ThermalFilter = 13, ExportAspectMap = 14, ExportBaseMap = 15, ExportCurvatureMap = 16, ExportFlowMap = 17, ExportHeightMap = 18, ExportNoiseMap = 19, ExportNormalMap = 20, ExportMasks = 21, ExportSlopeMap = 22 } public enum MaskMergeType { AssignMask2IfGreaterThan = 0, AssignMask2IfLessThan = 1, AddMask2 = 2, MultiplyByMask2 = 3, SubtractMask2 = 4 } public enum ErosionRainType { Constant = 0, ErodePeaks = 1, ErodeValleys = 2, ErodeSlopes = 3 } public enum CurvatureType { Average = 0, Horizontal = 1, Vertical = 2 } public enum AspectType { Aspect = 0, Northerness = 1, Easterness = 2 } public enum NoiseType { None = 0, Perlin = 1, Billow = 2, Ridged = 3 } public enum ImageFitnessFilterMode { None = 0, ImageGreyScale = 1, ImageRedChannel = 2, ImageGreenChannel = 3, ImageBlueChannel = 4, ImageAlphaChannel = 5, TerrainTexture0 = 6, TerrainTexture1 = 7, TerrainTexture2 = 8, TerrainTexture3 = 9, TerrainTexture4 = 10, TerrainTexture5 = 11, TerrainTexture6 = 12, TerrainTexture7 = 13, PerlinNoise = 14, BillowNoise = 15, RidgedNoise = 16 } public enum FeatureType { Adhoc = 0, Bases = 1, Hills = 2, Islands = 3, Lakes = 4, Mesas = 5, Mountains = 6, Plains = 7, Rivers = 8, Rocks = 9, Valleys = 10, Villages = 11, Waterfalls = 12 } public enum GeneratorBorderStyle { None = 0, Mountains = 1, Water = 2 } public enum FeatureOperation { RaiseHeight = 0, LowerHeight = 1, BlendHeight = 2, StencilHeight = 3, DifferenceHeight = 4 } public enum SpawnerShape { Box = 0, Sphere = 1 } public enum SpawnerLocation { RandomLocation = 0, RandomLocationClustered = 1, EveryLocation = 2, EveryLocationJittered = 3 } public enum SpawnerLocationCheckType { PointCheck = 0, BoundedAreaCheck = 1 } public enum SpawnerRuleSelector { All = 0, Fittest = 1, WeightedFittest = 2, Random = 3 } public enum SpawnerResourceType { TerrainTexture = 0, TerrainDetail = 1, TerrainTree = 2, GameObject = 3 } public enum ImageFileType { Jpg = 0, Png = 1, Exr = 2 } public enum StorageFormat { PNG = 0, JPG = 1 } public enum ImageChannel { R = 0, G = 1, B = 2, A = 3 } public static readonly string AssetDir = "Gaia/Stamps"; public static readonly string AssetDirFromAssetDB = "Assets/Gaia/Stamps"; public static float VirginTerrainCheckThreshold = 0.01f; public const TextureFormat defaultTextureFormat = TextureFormat.RGBA32; public const TextureFormat fmtHmTextureFormat = TextureFormat.RGBA32; public const TextureFormat fmtRGBA32 = TextureFormat.RGBA32; public const StorageFormat defaultImageStorageFormat = StorageFormat.PNG; public const ImageChannel defaultImageStorageChannel = ImageChannel.R; } }