using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Gaia { /// /// Prototype for terrain modifier stamps, stamper se /// [System.Serializable] public class ResourceProtoTerrainModifierStamp { /// /// The name for the terrain modifier stamp /// public string m_name; /// /// Stamp y location /// public double m_y = 50; /// /// Stamp height - this is the vertical scaling factor /// public float m_height = 10f; /// /// The absolute added / subtracted height for add / subtract height operations /// public float m_absoluteHeightValue; /// /// Stamp rotation /// public float m_rotation = 0f; /// /// The strength of the blending operation in the stamper /// public float m_blendStrength = 0.5f; /// /// The current operation that the stamper will perform on the terrain when pressing the stamp button /// public GaiaConstants.FeatureOperation m_operation = GaiaConstants.FeatureOperation.RaiseHeight; /// /// height transform curve when using Effects > Height Transform /// public AnimationCurve m_heightTransformCurve = ImageMask.NewAnimCurveStraightUpwards(); /// /// size of the increased features when using Effects>Contrast /// public float m_contrastFeatureSize = 10; /// /// strength of the contrast effect when using Effects>Contrast /// public float m_contrastStrength = 2; /// /// size of the features being included in a terrace when using Effects>Terraces /// public float m_terraceCount = 100f; /// /// Added Jitter when using Effects>Terraces /// public float m_terraceJitterCount = 0.5f; /// /// Bevel Amount when using Effects>Terraces /// public float m_terraceBevelAmountInterior; /// /// Sharpness when using Effects>Sharpen Ridges /// public float m_sharpenRidgesMixStrength = 0.5f; /// /// Erosion Amount when using Effects>Sharpen Ridges /// public float m_sharpenRidgesIterations = 16f; public float m_powerOf; public float m_smoothVerticality = 0f; public float m_smoothBlurRadius = 10f; /// /// A fixed Image masked used as input for some of the operations. /// public ImageMask m_stamperInputImageMask = new ImageMask(); /// /// The mix level of the stamp for the mix height operation. /// public float m_mixMidPoint = 0.5f; /// /// The strength of the mix height operation. /// public float m_mixHeightStrength = 0.5f; } }