Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/LightCluster.cs

27 lines
937 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07:00
using System;
namespace UnityEngine.Rendering.HighDefinition
{
/// <summary>
/// A volume component that holds settings for the ray tracing light cluster.
/// </summary>
[Serializable, VolumeComponentMenu("Ray Tracing/Light Cluster")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
[HDRPHelpURL("Ray-Tracing-Light-Cluster")]
public sealed class LightCluster : VolumeComponent
{
/// <summary>
/// Controls the range of the cluster around the camera in meters.
/// </summary>
[Tooltip("Controls the range of the cluster around the camera in meters.")]
public MinFloatParameter cameraClusterRange = new MinFloatParameter(10.0f, 0.001f);
/// <summary>
/// Default constructor for the light cluster volume component.
/// </summary>
public LightCluster()
{
displayName = "Light Cluster";
}
}
}