Class ScreenSpaceRefraction
A volume component that holds settings for the Screen Space Refraction effect.
Implements
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.OnEnable()
VolumeComponent.OnDisable()
VolumeComponent.GetHashCode()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.OnDestroy()
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("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 |