Class PathTracing
A volume component that holds settings for the Path Tracing effect.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public sealed class PathTracing : VolumeComponent
Constructors
PathTracing()
Default constructor for the path tracing volume component.
Declaration
public PathTracing()
Fields
enable
Enables path tracing (thus disabling most other passes).
Declaration
public BoolParameter enable
Field Value
Type | Description |
---|---|
BoolParameter |
layerMask
Defines the layers that path tracing should include.
Declaration
public LayerMaskParameter layerMask
Field Value
Type | Description |
---|---|
LayerMaskParameter |
maximumDepth
Defines the maximum number of bounces for each path, in [minimumDepth, 10].
Declaration
public ClampedIntParameter maximumDepth
Field Value
Type | Description |
---|---|
ClampedIntParameter |
maximumIntensity
Defines the maximum intensity value computed for a path segment.
Declaration
public ClampedFloatParameter maximumIntensity
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
maximumSamples
Defines the maximum number of paths cast within each pixel, over time (one per frame).
Declaration
public ClampedIntParameter maximumSamples
Field Value
Type | Description |
---|---|
ClampedIntParameter |
minimumDepth
Defines the minimum number of bounces for each path, in [1, 10].
Declaration
public ClampedIntParameter minimumDepth
Field Value
Type | Description |
---|---|
ClampedIntParameter |