Table of Contents

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

Color4

DrawMesh

Draw original mesh

public bool DrawMesh { get; set; }

Property Value

bool

DrawOutlineBeforeMesh

Draw outline order

public bool DrawOutlineBeforeMesh { get; set; }

Property Value

bool

OutlineEnabled

Enable outline

public bool OutlineEnabled { get; set; }

Property Value

bool

OutlineFadingFactor

Outline fading

public float OutlineFadingFactor { get; set; }

Property Value

float

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

ShaderPass

Methods

OnAttach(IRenderTechnique?)

Called when [attach].

protected override bool OnAttach(IRenderTechnique? technique)

Parameters

technique IRenderTechnique

The technique.

Returns

bool

OnRender(RenderContext, DeviceContextProxy)

Called when [render].

protected override void OnRender(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext

The context.

deviceContext DeviceContextProxy

The device context.

OnUpdatePerModelStruct(RenderContext)

Called when [update per model structure].

protected override void OnUpdatePerModelStruct(RenderContext context)

Parameters

context RenderContext

The context.