docs.unity3d.com
    Show / Hide Table of Contents

    Class RayTracingSettings

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

    Inheritance
    Object
    VolumeComponent
    RayTracingSettings
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    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

    buildMode

    Controls how the ray tracing acceleration structure is build.

    Declaration
    [Tooltip("Controls how the ray tracing acceleration structure is build.")]
    [AdditionalProperty]
    public RTASBuildModeParameter buildMode
    Field Value
    Type Description
    RTASBuildModeParameter

    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

    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
    Back to top
    Terms of use
    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