docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProbeAdjustmentVolume

    A marker to adjust probes in an area of the scene.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    ProbeAdjustmentVolume
    ProbeTouchupVolume
    Implements
    ISerializationCallbackReceiver
    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.GetComponentIndex()
    Component.CompareTag(string)
    Component.CompareTag(TagHandle)
    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.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    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
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [CoreRPHelpURL("probevolumes-settings#probe-adjustment-volume", "com.unity.render-pipelines.high-definition")]
    [ExecuteAlways]
    [AddComponentMenu("Rendering/Probe Adjustment Volume")]
    public class ProbeAdjustmentVolume : MonoBehaviour, ISerializationCallbackReceiver

    Fields

    directSampleCount

    Number of samples for direct lighting computations.

    Declaration
    [Tooltip("Number of samples for direct lighting computations.")]
    public int directSampleCount
    Field Value
    Type Description
    int

    geometryBias

    Determines how far Unity pushes a probe out of geometry after a ray hit.

    Declaration
    [Range(0, 1)]
    [Tooltip("Determines how far Unity pushes a probe out of geometry after a ray hit.")]
    public float geometryBias
    Field Value
    Type Description
    float

    indirectSampleCount

    Number of samples for indirect lighting computations. This includes environment samples.

    Declaration
    [Tooltip("Number of samples for indirect lighting computations. This includes environment samples.")]
    public int indirectSampleCount
    Field Value
    Type Description
    int

    intensityScale

    A scale to apply to probes falling within the invalidation volume. It is really important to use this with caution as it can lead to inconsistent lighting.

    Declaration
    [Range(0.0001, 2)]
    [Tooltip("A multiplier applied to the intensity of probes covered by this Probe Adjustment Volume.")]
    public float intensityScale
    Field Value
    Type Description
    float

    invalidateProbes

    Whether to invalidate all probes falling within this volume.

    Declaration
    [Obsolete("Use mode")]
    public bool invalidateProbes
    Field Value
    Type Description
    bool

    maxBounces

    Maximum number of bounces for indirect lighting.

    Declaration
    [Min(0)]
    [Tooltip("Maximum number of bounces for indirect lighting.")]
    public int maxBounces
    Field Value
    Type Description
    int

    mode

    Choose what to do with probes falling inside this volume

    Declaration
    public ProbeAdjustmentVolume.Mode mode
    Field Value
    Type Description
    ProbeAdjustmentVolume.Mode

    overriddenDilationThreshold

    The overridden dilation threshold.

    Declaration
    [Range(0, 0.95)]
    public float overriddenDilationThreshold
    Field Value
    Type Description
    float

    overrideDilationThreshold

    Whether to use a custom threshold for dilation for probes falling withing this volume.

    Declaration
    [Obsolete("Use mode")]
    public bool overrideDilationThreshold
    Field Value
    Type Description
    bool

    radius

    The size for sphere shape.

    Declaration
    [Min(0)]
    [Tooltip("Modify the radius of this Probe Adjustment Volume. This is unaffected by the GameObject's Transform's Scale property.")]
    public float radius
    Field Value
    Type Description
    float

    rayOriginBias

    Distance from the probe position used to determine the origin of the sampling ray.

    Declaration
    [Range(-0.05, 0)]
    [Tooltip("Distance from the probe position used to determine the origin of the sampling ray.")]
    public float rayOriginBias
    Field Value
    Type Description
    float

    renderingLayerMask

    Rendering layer mask used for the combine operation with the probes inside the volume.

    Declaration
    public byte renderingLayerMask
    Field Value
    Type Description
    byte

    renderingLayerMaskOperation

    Rendering Layer Mask operation.

    Declaration
    public ProbeAdjustmentVolume.RenderingLayerMaskOperation renderingLayerMaskOperation
    Field Value
    Type Description
    ProbeAdjustmentVolume.RenderingLayerMaskOperation

    sampleCountMultiplier

    Multiplier for the number of samples specified above.

    Declaration
    [Min(0)]
    [Tooltip("Multiplier for the number of samples specified above.")]
    public int sampleCountMultiplier
    Field Value
    Type Description
    int

    shape

    The shape of the adjustment volume

    Declaration
    [Tooltip("Select the shape used for this Probe Adjustment Volume.")]
    public ProbeAdjustmentVolume.Shape shape
    Field Value
    Type Description
    ProbeAdjustmentVolume.Shape

    size

    The size for box shape.

    Declaration
    [Min(0)]
    [Tooltip("Modify the size of this Probe Adjustment Volume. This is unaffected by the GameObject's Transform's Scale property.")]
    public Vector3 size
    Field Value
    Type Description
    Vector3

    skyDirection

    The sky direction.

    Declaration
    [Tooltip("The direction for sampling the ambient probe in worldspace when using the Sky Visibility feature.")]
    public Vector3 skyDirection
    Field Value
    Type Description
    Vector3

    skyOcclusionMaxBounces

    Controls the number of bounces per light path for sky occlusion baking.

    Declaration
    [Range(0, 5)]
    public int skyOcclusionMaxBounces
    Field Value
    Type Description
    int

    skyOcclusionSampleCount

    Controls the number of samples per probe for sky occlusion baking.

    Declaration
    public int skyOcclusionSampleCount
    Field Value
    Type Description
    int

    virtualOffsetDistance

    Determines how far probes are pushed along the specified virtual offset direction.

    Declaration
    [Min(0)]
    public float virtualOffsetDistance
    Field Value
    Type Description
    float

    virtualOffsetRotation

    The rotation angles for the virtual offset direction.

    Declaration
    public Vector3 virtualOffsetRotation
    Field Value
    Type Description
    Vector3

    virtualOffsetThreshold

    Virtual Offset validity threshold.

    Declaration
    [Range(0, 0.95)]
    public float virtualOffsetThreshold
    Field Value
    Type Description
    float

    Methods

    GetExtents()

    Returns the extents of the volume.

    Declaration
    public Vector3 GetExtents()
    Returns
    Type Description
    Vector3

    The extents of the ProbeVolume.

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    UnityEngine.Object.GetHashCode()

    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)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)