docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HDProbe

    Base class for reflection like probes.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    HDProbe
    HDAdditionalReflectionData
    PlanarReflectionProbe
    Implements
    IVersionable<HDProbe.Version>
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(string, float)
    MonoBehaviour.InvokeRepeating(string, float, float)
    MonoBehaviour.CancelInvoke(string)
    MonoBehaviour.IsInvoking(string)
    MonoBehaviour.StartCoroutine(string)
    MonoBehaviour.StartCoroutine(string, object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StartCoroutine_Auto(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(string)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(object)
    MonoBehaviour.destroyCancellationToken
    MonoBehaviour.useGUILayout
    MonoBehaviour.didStart
    MonoBehaviour.didAwake
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, out Component)
    Component.TryGetComponent<T>(out T)
    Component.GetComponent(string)
    Component.GetComponentInChildren(Type, bool)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(bool)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, bool)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(bool)
    Component.GetComponentsInChildren<T>(bool, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type, bool)
    Component.GetComponentInParent(Type)
    Component.GetComponentInParent<T>(bool)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, bool)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(bool)
    Component.GetComponentsInParent<T>(bool, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(string)
    Component.SendMessageUpwards(string, object, SendMessageOptions)
    Component.SendMessageUpwards(string, object)
    Component.SendMessageUpwards(string)
    Component.SendMessageUpwards(string, SendMessageOptions)
    Component.SendMessage(string, object)
    Component.SendMessage(string)
    Component.SendMessage(string, object, SendMessageOptions)
    Component.SendMessage(string, SendMessageOptions)
    Component.BroadcastMessage(string, object, SendMessageOptions)
    Component.BroadcastMessage(string, object)
    Component.BroadcastMessage(string)
    Component.BroadcastMessage(string, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [ExecuteAlways]
    public abstract class HDProbe : MonoBehaviour, IVersionable<HDProbe.Version>

    Fields

    Name Description
    k_Migration

    The migration steps for HDProbes

    m_ObsoleteInfiniteProjection

    Obsolete field

    m_ObsoleteInfluenceVolume

    Obsolete field

    m_ObsoleteMode

    Obsolete field

    m_ObsoleteMultiplier

    Obsolete field

    m_ObsoleteWeight

    Obsolete field

    m_ProbeSettings

    Backed values of the probe settings. Don't use directly this except for migration code.

    Properties

    Name Description
    ExposureControlEnabled

    Set and used by the pipeline, depending on the resolved configuration of a probe.

    bakedRenderData

    The render data of the last bake

    bakedTexture

    The baked texture. Can be null if the probe was never baked.

    Most of the time, you do not need to set this value yourself. You can set this property in situations where you want to manually assign data that differs from what Unity generates.

    boundingSphere

    The bounding sphere of the influence

    bounds

    The bounding box of the influence

    cubeResolution

    Resolution of the cube probe.

    customRenderData

    The render data of the custom mode

    customTexture

    Texture used in custom mode.

    fadeDistance

    The distance at which reflections smoothly fade out before HDRP cut them completely.

    frameSettings

    Frame settings in use with this probe.

    frameSettingsOverrideMask

    Specify the settings overriden for the frame settins

    influenceVolume

    InfluenceVolume of the probe.

    isProjectionInfinite

    Is the projection at infinite? Value could be changed by Proxy mode.

    lightLayers

    Light layer to use by this probe.

    lightLayersAsUInt

    This function return a mask of light layers as uint and handle the case of Everything as being 0xFF and not -1

    mode

    The capture mode.

    multiplier

    Multiplier factor of reflection (non PBR parameter).

    proxyExtents

    The extents of the proxy volume

    proxyVolume

    ProxyVolume currently used by this probe.

    rangeCompressionFactor

    The result of the rendering of the probe will be divided by this factor. When the probe is read, this factor is undone as the probe data is read. This is to simply avoid issues with values clamping due to precision of the storing format.

    realtimeDepthTexture

    The allocated realtime depth texture. Can be null if the probe never rendered with the realtime mode.

    Most of the time, you do not need to set this value yourself. You can set this property in situations where you want to manually assign data that differs from what Unity generates.

    realtimeDepthTextureRTH

    Returns an RThandle reference to the realtime texture where the depth result of the probe is stored.

    realtimeMode

    The realtime mode of the probe

    realtimeRenderData

    The render data of the last realtime rendering

    realtimeTexture

    The allocated realtime texture. Can be null if the probe never rendered with the realtime mode.

    Most of the time, you do not need to set this value yourself. You can set this property in situations where you want to manually assign data that differs from what Unity generates.

    realtimeTextureRTH

    Returns an RThandle reference to the realtime texture where the color result of the probe is stored.

    renderData

    The currently used render data.

    resolution

    Resolution of the planar probe.

    settings

    Use this property to get the settings used for calculations.

    To edit the settings of the probe, use the unsanitized version of this property: settingsRaw.

    settingsRaw

    To read the settings of this probe, most of the time you should use the sanitized version of this property: settings. Use this property to read the settings of the probe only when it is important that you read the raw data.

    texture

    The texture used during lighting for this probe.

    timeSlicing

    Whether the realtime probe uses time slicing

    type

    The probe type

    useInfluenceVolumeAsProxyVolume

    Use the influence volume as the proxy volume if this is true.

    weight

    Weight for blending amongst probes (non PBR parameter).

    Methods

    Name Description
    GetRenderData(Mode)

    Get the render data of a specific mode.

    Note: The HDProbe stores only one RenderData per mode, even for view dependent probes with multiple viewers. In that case, make sure that you have set the RenderData relative to the expected viewer before rendering. Otherwise the data retrieved by this function will be wrong.

    GetTexture(Mode)

    Get the texture for a specific mode.

    PrepareCulling()

    Prepare the probe for culling. You should call this method when you update the influenceVolume parameters during runtime.

    RequestRenderNextUpdate()

    Requests that Unity renders this Reflection Probe during the next update.

    SetDepthTexture(Mode, Texture)

    Set the depth texture for a specific target mode.

    SetRenderData(Mode, RenderData)

    Set the render data for a specific mode.

    Note: The HDProbe stores only one RenderData per mode, even for view dependent probes with multiple viewers. In that case, make sure that you have set the RenderData relative to the expected viewer before rendering.

    SetTexture(Mode, Texture)

    Set the texture for a specific target mode.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)