Table of Contents

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

context HitTestContext

The context.

hits List<HitTestResult>

The hits.

Returns

bool

OnCreateRenderCore()

Called when [create render core].

protected override RenderCore OnCreateRenderCore()

Returns

RenderCore

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

Called when [hit test].

protected override sealed 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