docs.unity.cn
    Show / Hide Table of Contents

    Class ScreenSpaceRefraction

    A volume component that holds settings for the Screen Space Refraction effect.

    Inheritance
    Object
    VolumeComponent
    ScreenSpaceRefraction
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    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)
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenuForRenderPipeline("Lighting/Screen Space Refraction", new Type[]{typeof(HDRenderPipeline)})]
    public class ScreenSpaceRefraction : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider

    Fields

    screenFadeDistance

    Controls the distance at which HDRP fades out Screen Space Refraction near the edge of the screen. A value near 0 indicates a small fade distance at the edges, while increasing the value towards one will start the fade closer to the center of the screen.

    Declaration
    [Tooltip("Controls the distance at which HDRP fades out SSR near the edge of the screen.")]
    public ClampedFloatParameter screenFadeDistance
    Field Value
    Type Description
    ClampedFloatParameter
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 17 July 2023