docs.unity3d.com
    显示 / 隐藏目录

    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()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenu("Lighting/Screen Space Refraction")]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Override-Screen-Space-Refraction.html")]
    public class ScreenSpaceRefraction : VolumeComponent

    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
    public ClampedFloatParameter screenFadeDistance
    Field Value
    Type Description
    ClampedFloatParameter
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)