Class SubSurfaceScattering
Subsurface scattering volume component. This component setups subsurface scattering for ray-tracing.
Inherited Members
UnityEngine.Rendering.VolumeComponent.TryGetRevertMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
UnityEngine.Rendering.VolumeComponent.GetSourceTerm()
UnityEngine.Rendering.VolumeComponent.TryGetApplyMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
UnityEngine.Rendering.VolumeComponent.GetSourceName(UnityEngine.Component)
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenu("Ray Tracing/SubSurface Scattering")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public sealed class SubSurfaceScattering : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider
Constructors
SubSurfaceScattering()
Default constructor for the subsurface scattering volume component.
Declaration
public SubSurfaceScattering()
Fields
rayTracing
Enable ray traced sub-surface scattering.
Declaration
[Tooltip("Enable ray traced sub-surface scattering.")]
public BoolParameter rayTracing
Field Value
Type | Description |
---|---|
BoolParameter |
sampleCount
Number of samples for sub-surface scattering.
Declaration
[Tooltip("Number of samples for sub-surface scattering.")]
public ClampedIntParameter sampleCount
Field Value
Type | Description |
---|---|
ClampedIntParameter |