< Summary

Class:RenderProfileBridge
Assembly:RenderProfileBridge
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/RenderProfileBridge/RenderProfileBridge.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:37
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/RenderProfileBridge/RenderProfileBridge.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4/// <summary>
 5/// This bridge is used for toggling the current RenderProfile from kernel
 6/// </summary>
 7[Obsolete]
 8public class RenderProfileBridge : MonoBehaviour
 9{
 10    public enum ID
 11    {
 12        DEFAULT,
 13        HALLOWEEN,
 14        XMAS,
 15        NIGHT
 16    }
 17
 18    /// <summary>
 19    /// Called from kernel. Toggles the current WorldRenderProfile used by explorer.
 20    /// </summary>
 21    /// <param name="json">Model in json format</param>
 22    [Obsolete]
 23    public void SetRenderProfile(string json)
 24    {
 025        Debug.LogWarning("Deprecated due to procedural skybox");
 026    }
 27
 28    /// <summary>
 29    /// Toggles the current WorldRenderProfile used by explorer.
 30    /// </summary>
 31    /// <param name="id">Which profile by id</param>
 32    [Obsolete]
 33    public void SetRenderProfile(ID id)
 34    {
 035        Debug.LogWarning("Deprecated due to procedural skybox");
 036    }
 37}