Class LightNode
- Namespace
- HelixToolkit.SharpDX.Model.Scene
- Assembly
- HelixToolkit.SharpDX.dll
public abstract class LightNode : SceneNode, IDisposable, IComparable<SceneNode>, IAnimationNode, ILight3D
- Inheritance
-
LightNode
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
Color
Gets or sets the color.
public Color4 Color { get; set; }
Property Value
- Color4
The color.
LightType
Gets the type of the light.
public LightType LightType { get; }
Property Value
- LightType
The type of the light.
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
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.