public OutLineMeshGeometryModel3D()
        {
            outlineColor = OutlineColor.ToColor4();
            var blendDesc = new BlendStateDescription();

            blendDesc.RenderTarget[0] = new RenderTargetBlendDescription
            {
                IsBlendEnabled        = true,
                BlendOperation        = BlendOperation.Add,
                AlphaBlendOperation   = BlendOperation.Add,
                SourceBlend           = BlendOption.One,
                DestinationBlend      = BlendOption.One,
                SourceAlphaBlend      = BlendOption.Zero,
                DestinationAlphaBlend = BlendOption.One,
                RenderTargetWriteMask = ColorWriteMaskFlags.All
            };
            this.BlendStateDescription = blendDesc;

            var depthStencilDesc = new DepthStencilStateDescription()
            {
                IsDepthEnabled  = true,
                DepthComparison = Comparison.LessEqual,
                DepthWriteMask  = DepthWriteMask.Zero
            };

            DepthStencilStateDescription = depthStencilDesc;
        }
 /// <summary>
 /// Assigns the default values to core.
 /// </summary>
 /// <param name="core">The core.</param>
 protected override void AssignDefaultValuesToSceneNode(SceneNode core)
 {
     base.AssignDefaultValuesToSceneNode(core);
     if (core is NodePostEffectXRay c)
     {
         c.EffectName          = EffectName;
         c.Color               = OutlineColor.ToColor4();
         c.OutlineFadingFactor = (float)OutlineFadingFactor;
         c.EnableDoublePass    = EnableDoublePass;
     }
 }