Class MeshOutlineRenderCore
- Namespace
- HelixToolkit.SharpDX.Core
- Assembly
- HelixToolkit.SharpDX.dll
public class MeshOutlineRenderCore : MeshRenderCore, IDisposable, IGUID, IThrowingShadow, IGeometryRenderCore, IMeshRenderParams, IInvertNormal, IMaterialRenderParams, IDynamicReflectable, IMeshOutlineParams
- Inheritance
-
MeshOutlineRenderCore
- Implements
- Inherited Members
Constructors
MeshOutlineRenderCore()
Initializes a new instance of the MeshOutlineRenderCore class.
public MeshOutlineRenderCore()
Properties
Color
Outline color
public Color4 Color { get; set; }
Property Value
DrawMesh
Draw original mesh
public bool DrawMesh { get; set; }
Property Value
DrawOutlineBeforeMesh
Draw outline order
public bool DrawOutlineBeforeMesh { get; set; }
Property Value
OutlineEnabled
Enable outline
public bool OutlineEnabled { get; set; }
Property Value
OutlineFadingFactor
Outline fading
public float OutlineFadingFactor { get; set; }
Property Value
OutlinePassName
Gets or sets the name of the outline pass.
public string OutlinePassName { get; set; }
Property Value
- string
The name of the outline pass.
OutlineShaderPass
protected ShaderPass? OutlineShaderPass { get; }
Property Value
Methods
OnAttach(IRenderTechnique?)
Called when [attach].
protected override bool OnAttach(IRenderTechnique? technique)
Parameters
techniqueIRenderTechniqueThe technique.
Returns
OnRender(RenderContext, DeviceContextProxy)
Called when [render].
protected override void OnRender(RenderContext context, DeviceContextProxy deviceContext)
Parameters
contextRenderContextThe context.
deviceContextDeviceContextProxyThe device context.
OnUpdatePerModelStruct(RenderContext)
Called when [update per model structure].
protected override void OnUpdatePerModelStruct(RenderContext context)
Parameters
contextRenderContextThe context.