Class SubSurfaceScattering
Subsurface scattering volume component. This component setups subsurface scattering for ray-tracing.
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.GetHashCode()
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public sealed class SubSurfaceScattering : VolumeComponent
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 |
---|---|
UnityEngine.Rendering.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 |
---|---|
UnityEngine.Rendering.ClampedIntParameter |