docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RayTracingSettings

    A volume component that holds the general settings for ray traced effects.

    Inheritance
    object
    Object
    ScriptableObject
    VolumeComponent
    RayTracingSettings
    Inherited Members
    VolumeComponent.active
    VolumeComponent.Override(VolumeComponent, float)
    VolumeComponent.SetAllOverridesTo(bool)
    VolumeComponent.GetHashCode()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    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.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    [VolumeComponentMenuForRenderPipeline("Ray Tracing/Ray Tracing Settings (Preview)", new Type[] { typeof(HDRenderPipeline) })]
    public sealed class RayTracingSettings : VolumeComponent

    Constructors

    RayTracingSettings()

    Default constructor for the ray tracing settings volume component.

    Declaration
    public RayTracingSettings()

    Fields

    directionalShadowFallbackIntensity

    Controls the fallback directional shadow value that is used when the point to shade is outside of the cascade.

    Declaration
    [Tooltip("Controls the fallback directional shadow value that is used when the point to shade is outside of the cascade.")]
    public ClampedFloatParameter directionalShadowFallbackIntensity
    Field Value
    Type Description
    ClampedFloatParameter

    directionalShadowRayLength

    Controls the maximal ray length for ray traced shadows.

    Declaration
    [Tooltip("Controls the maximal ray length for ray traced directional shadows.")]
    public MinFloatParameter directionalShadowRayLength
    Field Value
    Type Description
    MinFloatParameter

    distantRayBias

    Controls the Ray Bias value used when the distance between the pixel and the camera is close to the far plane. Between the near and far plane the Ray Bias and Distant Ray Bias are interpolated linearly. This does not affect Path Tracing or Recursive Rendering. This value can be increased to mitigate Ray Tracing z-fighting issues at a distance.

    Declaration
    [Tooltip("Controls the Ray Bias value used when the distance between the pixel and the camera is close to the far plane. Between the near and far plane the Ray Bias and Distant Ray Bias are interpolated linearly. This does not affect Path Tracing or Recursive Rendering. This value can be increased to mitigate Ray Tracing z-fighting issues at a distance.")]
    public ClampedFloatParameter distantRayBias
    Field Value
    Type Description
    ClampedFloatParameter

    extendCameraCulling

    Enables the override of the camera culling. This increases the validity area of animated skinned mesh that are outside of the frustum..

    Declaration
    [Tooltip("Enables the override of the camera culling. This increases the validity area of animated skinned mesh that are outside of the frustum.")]
    public BoolParameter extendCameraCulling
    Field Value
    Type Description
    BoolParameter

    extendShadowCulling

    When enabled, the culling region for punctual and area lights shadow maps is increased from frustum culling to extended culling. For Directional lights, cascades are not extended, but additional objects may appear in the cascades.

    Declaration
    [Tooltip("When enabled, the culling region for punctual and area lights shadow maps is increased from frustum culling to extended culling. For Directional lights, cascades are not extended, but additional objects may appear in the cascades.")]
    [FormerlySerializedAs("extendCulling")]
    public BoolParameter extendShadowCulling
    Field Value
    Type Description
    BoolParameter

    rayBias

    Controls the bias for all real-time ray tracing effects.

    Declaration
    [Tooltip("Controls the bias for all real-time ray tracing effects.")]
    public ClampedFloatParameter rayBias
    Field Value
    Type Description
    ClampedFloatParameter
    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)