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
trueif [front CCW]; otherwise,false.
InvertNormal
Gets or sets a value indicating whether [invert normal].
public bool InvertNormal { get; set; }
Property Value
- bool
trueif [invert normal]; otherwise,false.
RenderWireframe
Gets or sets a value indicating whether [render wireframe].
public bool RenderWireframe { get; set; }
Property Value
- bool
trueif [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
geometryGeometry3DThe geometry.
Returns
OnCreateBufferModel(Guid, Geometry3D?)
Called when [create buffer model].
protected override IAttachableBufferModel OnCreateBufferModel(Guid modelGuid, Geometry3D? geometry)
Parameters
modelGuidGuidgeometryGeometry3D
Returns
OnCreateRenderCore()
Called when [create render core].
protected override RenderCore OnCreateRenderCore()
Returns
OnHitTest(HitTestContext?, Matrix4x4, ref List<HitTestResult>)
Called when [hit test].
protected override bool OnHitTest(HitTestContext? context, Matrix4x4 totalModelMatrix, ref List<HitTestResult> hits)
Parameters
contextHitTestContextThe context.
totalModelMatrixMatrix4x4The total model matrix.
hitsList<HitTestResult>The hits.