docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProbeVolumeSceneData

    A class containing info about the bounds defined by the probe volumes in various scenes.

    Inheritance
    object
    ProbeVolumeSceneData
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Implements

    ISerializationCallbackReceiver

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)