docs.unity3d.com
    Show / Hide Table of Contents

    Class SubSurfaceScattering

    Subsurface scattering volume component. This component setups subsurface scattering for ray-tracing.

    Inheritance
    Object
    VolumeComponent
    SubSurfaceScattering
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenuForRenderPipeline("Ray Tracing/SubSurface Scattering (Preview)", new Type[]{typeof(HDRenderPipeline)})]
    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
    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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023