/// <summary> /// Initializes a new instance of the <see cref="CameraRendererModeWireFrame"/> class. /// </summary> public CameraRendererModeWireFrame() { ModelEffect = WireFrameEffect; // Render only CameraComponent and ModelComponent RenderComponentTypes.Add(typeof(CameraComponent).GetTypeInfo()); RenderComponentTypes.Add(typeof(ModelComponent).GetTypeInfo()); modelComponentAndPickingRenderer = new ModelComponentAndPickingRenderer(); RendererOverrides.Add(typeof(ModelComponent).GetTypeInfo(), modelComponentAndPickingRenderer); FrontColor = new Color3(0, 1.0f, 0.0f); BackColor = new Color3(0, 0.5f, 0.0f); AlphaBlend = 1.0f; ColorBlend = 1.0f; BlendFactor = 1.0f; ShowBackface = true; }