using System; namespace UnityEngine.Rendering.HighDefinition { /// /// Controls the type of the procedural foam generator. /// [Obsolete("WaterFoamGenerator has been deprecated. Use WaterDecal instead. #from(6000.0)")] public enum WaterFoamGeneratorType { /// /// Disk foam generator. /// Disk = 0, /// /// Square foam generator. /// Rectangle = 1, /// /// Texture foam generator. /// Texture = 2, /// /// Material foam generator. /// Material = 3, } /// /// Procedural water foam generator component. /// [DisallowMultipleComponent] [ExecuteInEditMode] [AddComponentMenu("")] // Hide in menu public partial class WaterFoamGenerator : WaterDecal { /// /// Specifies the type of the generator. This parameter defines which parameters will be used to render it. /// [Obsolete("WaterFoamGenerator has been deprecated. Use WaterDecal instead. #from(6000.0)")] public WaterFoamGeneratorType type = WaterFoamGeneratorType.Disk; /// /// Specifies the texture used for the foam. /// [Obsolete("WaterFoamGenerator has been deprecated. Use WaterDecal instead. #from(6000.0)")] public Texture texture = null; private void Awake() { k_Migration.Migrate(this); } } }