Class NodePostEffectXRay
- Namespace
- HelixToolkit.SharpDX.Model.Scene
- Assembly
- HelixToolkit.SharpDX.dll
public class NodePostEffectXRay : SceneNode, IDisposable, IComparable<SceneNode>, IAnimationNode
- Inheritance
-
NodePostEffectXRay
- Implements
- Inherited Members
- Extension Methods
Properties
Color
Gets or sets the color.
public Color4 Color { get; set; }
Property Value
- Color4
The color.
EffectName
Gets or sets the name of the effect.
public string EffectName { get; set; }
Property Value
- string
The name of the effect.
EnableDoublePass
Gets or sets a value indicating whether [enable double pass].
public bool EnableDoublePass { get; set; }
Property Value
- bool
trueif [enable double pass]; otherwise,false.
OutlineFadingFactor
Gets or sets the outline fading factor.
public float OutlineFadingFactor { get; set; }
Property Value
- float
The outline fading factor.
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.