Class RayTracingSettings
A volume component that holds the general settings for ray traced effects.
Inherited Members
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 |