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()
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
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]
[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 |