docs.unity.cn
    Show / Hide Table of Contents

    Enum DebugProbeShadingMode

    Modes for Debugging Probes

    Namespace: UnityEngine.Rendering
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.core@17.0\\Packages\\com.unity.render-pipelines.core\\Runtime\\Lighting\\ProbeVolume\\ProbeReferenceVolume.Debug.cs")]
    public enum DebugProbeShadingMode

    Fields

    Name Description Value
    SH

    Based on Spherical Harmonics


    0
    SHL0

    Based on Spherical Harmonics first band only (ambient)


    1
    SHL0L1

    Based on Spherical Harmonics band zero and one only


    2
    Validity

    Based on validity


    3
    ValidityOverDilationThreshold

    Based on validity over a dilation threshold


    4
    InvalidatedByTouchupVolumes

    Show in red probes that have been made invalid by adjustment volumes. Important to note that this debug view will only show result for volumes still present in the scene.


    5
    Size

    Based on size


    6

    Extension Methods

    AnalyticsUtils.ToNestedColumn<DebugProbeShadingMode>(Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<DebugProbeShadingMode>(DebugProbeShadingMode, Boolean)
    ReflectionUtils.Invoke(String, Object[])
    ReflectionUtils.SetField(String, Object)
    ReflectionUtils.GetField(String)
    ReflectionUtils.GetFields()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023