docs.unity3d.com
    Show / Hide Table of Contents

    Class ProbeVolumeSceneData

    Inheritance
    Object
    ProbeVolumeSceneData
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    [Serializable]
    public class ProbeVolumeSceneData : ISerializationCallbackReceiver

    Constructors

    ProbeVolumeSceneData(Object)

    Constructor for ProbeVolumeSceneData.

    Declaration
    public ProbeVolumeSceneData(Object parentAsset)
    Parameters
    Type Name Description
    Object parentAsset

    The asset holding this ProbeVolumeSceneData, it will be dirtied every time scene bounds or settings are changed.

    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
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    OnBeforeSerialize implementation.

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    SetParentObject(Object)

    Set a reference to the object holding this ProbeVolumeSceneData.

    Declaration
    public void SetParentObject(Object parent)
    Parameters
    Type Name Description
    Object parent

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023