using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine.Serialization;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnityEngine.Rendering
{
// Add Profile and baking settings.
/// A class containing info about the bounds defined by the probe volumes in various scenes.
[System.Serializable]
[Obsolete("This class is no longer necessary for APV implementation.")]
public class ProbeVolumeSceneData
{
internal Object parentAsset = null;
[SerializeField, FormerlySerializedAs("sceneBounds"), Obsolete("This data is now serialized directly in the baking set asset")]
internal SerializedDictionary obsoleteSceneBounds;
[SerializeField, FormerlySerializedAs("hasProbeVolumes"), Obsolete("This data is now serialized directly in the baking set asset")]
internal SerializedDictionary obsoleteHasProbeVolumes;
///
/// Constructor for ProbeVolumeSceneData.
///
/// The asset holding this ProbeVolumeSceneData, it will be dirtied every time scene bounds or settings are changed.
public ProbeVolumeSceneData(Object parentAsset)
{
SetParentObject(parentAsset);
}
/// Set a reference to the object holding this ProbeVolumeSceneData.
/// The object holding this ProbeVolumeSceneData, it will be dirtied every time scene bounds or settings are changed.
[Obsolete]
public void SetParentObject(Object parent)
{
parentAsset = parent;
}
}
}