Table of Contents

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

context HitTestContext

The context.

hits List<HitTestResult>

The hits.

Returns

bool

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