< Summary

Class:DCL.ECS7.InternalComponents.InternalVisibility
Assembly:ECS7Plugin.InternalECSComponents.Interfaces
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/InternalECSComponents/Interfaces/InternalECSComponentModels.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:63
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/InternalECSComponents/Interfaces/InternalECSComponentModels.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using DCL.ECSComponents;
 3using UnityEngine;
 4using UnityEngine.UIElements;
 5using RaycastHit = DCL.ECSComponents.RaycastHit;
 6
 7namespace DCL.ECS7.InternalComponents
 8{
 9    public class InternalComponent
 10    {
 11        public bool dirty => _dirty;
 12        internal bool _dirty = true;
 13    }
 14
 15    public class InternalTexturizable : InternalComponent
 16    {
 17        public IList<Renderer> renderers = new List<Renderer>();
 18    }
 19
 20    public class InternalMaterial : InternalComponent
 21    {
 22        public Material material = null;
 23        public bool castShadows = true;
 24    }
 25
 26    public class InternalColliders : InternalComponent
 27    {
 28        public IList<Collider> colliders = new List<Collider>();
 29    }
 30
 31    public class InternalRenderers : InternalComponent
 32    {
 33        public IList<Renderer> renderers = new List<Renderer>();
 34    }
 35
 36    public class InternalVisibility : InternalComponent
 37    {
 038        public bool visible = true;
 39    }
 40
 41    public class InternalInputEventResults : InternalComponent
 42    {
 43        public class EventData
 44        {
 45            public InputAction button;
 46            public RaycastHit hit;
 47            public PointerEventType type;
 48            public int timestamp;
 49            public float analog;
 50        }
 51
 52        public Queue<EventData> events;
 53        public int lastTimestamp;
 54    }
 55
 56    public class InternalUiContainer : InternalComponent
 57    {
 58        public readonly VisualElement rootElement = new VisualElement();
 59        public readonly HashSet<int> components = new HashSet<int>();
 60        public VisualElement parentElement;
 61        public long parentId;
 62    }
 63}

Methods/Properties

InternalVisibility()