Table of Contents

Class MeshNode

Namespace
HelixToolkit.SharpDX.Model.Scene
Assembly
HelixToolkit.SharpDX.dll
public class MeshNode : MaterialGeometryNode, IDisposable, IComparable<SceneNode>, IAnimationNode, IHitable, IThrowingShadow, IInstancing, IBoundable, IApplyPostEffect, IDynamicReflectable
Inheritance
MeshNode
Implements
Derived
Inherited Members
Extension Methods

Properties

CullMode

Gets or sets the cull mode.

public CullMode CullMode { get; set; }

Property Value

CullMode

The cull mode.

DynamicReflector

Gets or sets the dynamic reflector.

public IDynamicReflector? DynamicReflector { get; set; }

Property Value

IDynamicReflector

The dynamic reflector.

FrontCCW

Gets or sets a value indicating whether [front CCW].

public bool FrontCCW { get; set; }

Property Value

bool

true if [front CCW]; otherwise, false.

InvertNormal

Gets or sets a value indicating whether [invert normal].

public bool InvertNormal { get; set; }

Property Value

bool

true if [invert normal]; otherwise, false.

RenderWireframe

Gets or sets a value indicating whether [render wireframe].

public bool RenderWireframe { get; set; }

Property Value

bool

true if [render wireframe]; otherwise, false.

WireframeColor

Gets or sets the color of the wireframe.

public Color4 WireframeColor { get; set; }

Property Value

Color4

The color of the wireframe.

Methods

CreateRasterState()

Create raster state description.

protected override RasterizerStateDescription CreateRasterState()

Returns

RasterizerStateDescription

OnCheckGeometry(Geometry3D?)

Called when [check geometry].

protected override bool OnCheckGeometry(Geometry3D? geometry)

Parameters

geometry Geometry3D

The geometry.

Returns

bool

OnCreateBufferModel(Guid, Geometry3D?)

Called when [create buffer model].

protected override IAttachableBufferModel OnCreateBufferModel(Guid modelGuid, Geometry3D? geometry)

Parameters

modelGuid Guid
geometry Geometry3D

Returns

IAttachableBufferModel

OnCreateRenderCore()

Called when [create render core].

protected override RenderCore OnCreateRenderCore()

Returns

RenderCore

OnHitTest(HitTestContext?, Matrix4x4, ref List<HitTestResult>)

Called when [hit test].

protected override bool OnHitTest(HitTestContext? context, Matrix4x4 totalModelMatrix, ref List<HitTestResult> hits)

Parameters

context HitTestContext

The context.

totalModelMatrix Matrix4x4

The total model matrix.

hits List<HitTestResult>

The hits.

Returns

bool