using System;
namespace UnityEngine.Rendering.HighDefinition
{
///
/// A volume component that holds settings for the Micro Shadows effect.
///
[Serializable, VolumeComponentMenu("Shadowing/Micro Shadows")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
[HDRPHelpURLAttribute("Override-Micro-Shadows")]
public class MicroShadowing : VolumeComponent
{
///
/// When enabled, HDRP processes Micro Shadows for this Volume.
///
[Tooltip("Enables micro shadows for directional lights.")]
[DisplayInfo(name = "State")]
public BoolParameter enable = new BoolParameter(false, BoolParameter.DisplayType.EnumPopup);
///
/// Controls the opacity of the micro shadows.
///
[Tooltip("Controls the opacity of the micro shadows.")]
public ClampedFloatParameter opacity = new ClampedFloatParameter(1.0f, 0.0f, 1.0f);
MicroShadowing()
{
displayName = "Micro Shadows";
}
}
}