Class SubSurfaceScattering
Subsurface scattering volume component. This component setups subsurface scattering for ray-tracing.
Implements
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.GetHashCode()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.Release()
VolumeComponent.GetSourceTerm()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Ray Tracing/SubSurface Scattering (Preview)", new Type[] { typeof(HDRenderPipeline) })]
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 |