docs.unity.cn
    Show / Hide Table of Contents

    Class WaterRendering

    A volume component that holds settings for the water surface.

    Inheritance
    Object
    VolumeComponent
    WaterRendering
    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]
    [VolumeComponentMenu("Lighting/Water Rendering")]
    [SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
    public sealed class WaterRendering : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider

    Fields

    ambientProbeDimmer

    Controls the influence of the ambient light probe on the water surfaces.

    Declaration
    [Tooltip("Controls the influence of the ambient light probe on the water surfaces.")]
    public ClampedFloatParameter ambientProbeDimmer
    Field Value
    Type Description
    ClampedFloatParameter

    enable

    When enabled, the water surfaces are rendered.

    Declaration
    [Tooltip("When enabled, the water surfaces are rendered.")]
    public BoolParameter enable
    Field Value
    Type Description
    BoolParameter

    triangleSize

    Sets the elevation at which the max grid size is reached.

    Declaration
    [Tooltip("Sets the size of a triangle edge in screen space. Smaller values result in smaller triangles.")]
    public ClampedFloatParameter triangleSize
    Field Value
    Type Description
    ClampedFloatParameter
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023