< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEditor;
 4using UnityEngine;
 5
 6namespace DCL.Skybox
 7{
 8    public class RenderHorizonPlane
 9    {
 10        public static void RenderLayer(ref float timeOfTheDay, EditorToolMeasurements toolSize, SkyboxConfiguration conf
 11        {
 12            // Horizon Plane
 013            RenderSimpleValues.RenderTexture("Texture", ref config.horizonPlaneTexture);
 14
 15            // Horizon Plane values
 016            EditorGUILayout.LabelField("Horizon Plane Values", EditorStyles.boldLabel);
 17
 018            EditorGUI.indentLevel++;
 19            // Tiling
 020            RenderSimpleValues.RenderVector2Field("Tiling", ref config.horizonPlaneTiling);
 21            // Offset
 022            RenderSimpleValues.RenderVector2Field("Offset", ref config.horizonPlaneOffset);
 023            EditorGUI.indentLevel--;
 24
 25            // Horizon Plane color
 026            RenderSimpleValues.RenderColorGradientField(config.horizonPlaneColor, "Horizon Plane Color", 0, 24);
 27
 28            // Horizon light intensity
 029            RenderSimpleValues.RenderFloatFieldAsSlider("Light Intensity", ref config.horizonLightIntensity, 0, 1);
 30
 31            // Horizon Height
 032            RenderTransitioningVariables.RenderTransitioningFloat(toolSize, ref timeOfTheDay, config.horizonPlaneHeight,
 33
 034            EditorGUILayout.Space(10);
 35
 36            // Plane smooth range
 037            RenderSimpleValues.RenderMinMaxSlider("Plane Smoothness", ref config.horizonPlaneSmoothRange.x, ref config.h
 038        }
 39    }
 40}