Class ProbeVolumeSceneData
A class containing info about the bounds defined by the probe volumes in various scenes.
Implements
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class ProbeVolumeSceneData : ISerializationCallbackReceiver
Constructors
ProbeVolumeSceneData(Object, string)
Constructor for ProbeVolumeSceneData.
Declaration
public ProbeVolumeSceneData(Object parentAsset, string parentSceneDataPropertyName)
Parameters
Type | Name | Description |
---|---|---|
Object | parentAsset | The asset holding this ProbeVolumeSceneData, it will be dirtied every time scene bounds or settings are changed. |
string | parentSceneDataPropertyName | The name of the property holding the ProbeVolumeSceneData in the parentAsset. |
Fields
sceneBounds
A dictionary containing the Bounds defined by probe volumes for each scene (scene path is the key of the dictionary).
Declaration
public Dictionary<string, Bounds> sceneBounds
Field Value
Type | Description |
---|---|
Dictionary<string, Bounds> |
Methods
OnAfterDeserialize()
OnAfterDeserialize implementation.
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
OnBeforeSerialize implementation.
Declaration
public void OnBeforeSerialize()
SetParentObject(Object, string)
Set a reference to the object holding this ProbeVolumeSceneData.
Declaration
public void SetParentObject(Object parent, string parentSceneDataPropertyName)
Parameters
Type | Name | Description |
---|---|---|
Object | parent | The object holding this ProbeVolumeSceneData, it will be dirtied every time scene bounds or settings are changed. |
string | parentSceneDataPropertyName | The name of the property holding the ProbeVolumeSceneData in the parentAsset. |