< Summary

Class:DCL.Skybox.RenderAmbientLayer
Assembly:SkyboxEditorAssembly
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Rendering/ProceduralSkybox/ToolProceduralSkybox/Scripts/Editor/Procedural Skybox/Base Layers/RenderAmbientLayer.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:23
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
RenderLayer(...)0%6200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Rendering/ProceduralSkybox/ToolProceduralSkybox/Scripts/Editor/Procedural Skybox/Base Layers/RenderAmbientLayer.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEditor;
 4using UnityEngine;
 5
 6namespace DCL.Skybox
 7{
 8    public class RenderAmbientLayer
 9    {
 10        public static void RenderLayer(ref float timeOfTheDay, EditorToolMeasurements toolSize, SkyboxConfiguration conf
 11        {
 012            config.ambientTrilight = EditorGUILayout.Toggle(SkyboxEditorLiterals.Labels.useGradient, config.ambientTrili
 13
 014            if (config.ambientTrilight)
 15            {
 016                RenderSimpleValues.RenderColorGradientField(config.ambientSkyColor, SkyboxEditorLiterals.LayerProperties
 017                RenderSimpleValues.RenderColorGradientField(config.ambientEquatorColor, SkyboxEditorLiterals.LayerProper
 018                RenderSimpleValues.RenderColorGradientField(config.ambientGroundColor, SkyboxEditorLiterals.LayerPropert
 19            }
 20
 021        }
 22    }
 23}