mathe/Library/PackageCache/com.unity.render-pipelines.core@14.0.8/Runtime/Volume/IVolume.cs
2024-09-20 20:30:10 +02:00

21 lines
504 B
C#

using System.Collections.Generic;
namespace UnityEngine.Rendering
{
/// <summary>
/// An interface for Volumes
/// </summary>
public interface IVolume
{
/// <summary>
/// Specifies whether to apply the Volume to the entire Scene or not.
/// </summary>
bool isGlobal { get; set; }
/// <summary>
/// The colliders of the volume if <see cref="isGlobal"/> is false
/// </summary>
List<Collider> colliders { get; }
}
}