Class NodePostEffectXRayGrid
- Namespace
- HelixToolkit.SharpDX.Model.Scene
- Assembly
- HelixToolkit.SharpDX.dll
public class NodePostEffectXRayGrid : SceneNode, IDisposable, IComparable<SceneNode>, IAnimationNode
- Inheritance
-
NodePostEffectXRayGrid
- Implements
- Inherited Members
- Extension Methods
Properties
BlendingFactor
Gets or sets the blending factor for grid and original mesh color blending
public float BlendingFactor { get; set; }
Property Value
- float
The blending factor.
Color
Gets or sets the color.
public Color4 Color { get; set; }
Property Value
- Color4
The color.
DimmingFactor
Gets or sets the dimming factor.
public float DimmingFactor { get; set; }
Property Value
- float
The dimming factor.
EffectName
Gets or sets the name of the effect.
public string EffectName { get; set; }
Property Value
- string
The name of the effect.
GridDensity
Gets or sets the grid density.
public int GridDensity { get; set; }
Property Value
- int
The grid density.
XRayDrawingPassName
Gets or sets the name of the x ray drawing pass. This is the final pass to draw mesh and grid overlay onto render target
public string XRayDrawingPassName { get; set; }
Property Value
- string
The name of the x ray drawing pass.
Methods
HitTest(HitTestContext?, ref List<HitTestResult>)
Hits the test.
public override sealed bool HitTest(HitTestContext? context, ref List<HitTestResult> hits)
Parameters
contextHitTestContextThe context.
hitsList<HitTestResult>The hits.
Returns
OnCreateRenderCore()
Called when [create render core].
protected override RenderCore OnCreateRenderCore()
Returns
OnHitTest(HitTestContext?, Matrix4x4, ref List<HitTestResult>)
Called when [hit test].
protected override sealed bool OnHitTest(HitTestContext? context, Matrix4x4 totalModelMatrix, ref List<HitTestResult> hits)
Parameters
contextHitTestContextThe context.
totalModelMatrixMatrix4x4The total model matrix.
hitsList<HitTestResult>The hits.