Class ProbeVolumeSceneData
Namespace: UnityEngine.Experimental.Rendering
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()
Implements
OnBeforeSerialize()
OnBeforeSerialize implementation.
Declaration
public void OnBeforeSerialize()
Implements
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 | |
String | parentSceneDataPropertyName | The name of the property holding the ProbeVolumeSceneData in the parentAsset. |