Table of Contents

Class PointLight3D

Namespace
HelixToolkit.Wpf.SharpDX
Assembly
HelixToolkit.Wpf.SharpDX.dll
public class PointLight3D : Light3D, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IDisposable, IVisible
Inheritance
PointLight3D
Implements
Derived
Inherited Members
Extension Methods

Fields

AttenuationProperty

public static readonly DependencyProperty AttenuationProperty

Field Value

DependencyProperty

PositionProperty

public static readonly DependencyProperty PositionProperty

Field Value

DependencyProperty

RangeProperty

public static readonly DependencyProperty RangeProperty

Field Value

DependencyProperty

Properties

Attenuation

Attenuation coefficients: X = constant attenuation, Y = linar attenuation, Z = quadratic attenuation. For details see: http://msdn.microsoft.com/en-us/library/windows/desktop/bb172279(v=vs.85).aspx

public Vector3D Attenuation { get; set; }

Property Value

Vector3D

Position

The position of the model in world space.

public Point3D Position { get; set; }

Property Value

Point3D

Range

Range of this light. This is the maximum distance of a pixel being lit by this light. For details see: http://msdn.microsoft.com/en-us/library/windows/desktop/bb172279(v=vs.85).aspx

public double Range { get; set; }

Property Value

double

Methods

AssignDefaultValuesToSceneNode(SceneNode)

protected override void AssignDefaultValuesToSceneNode(SceneNode core)

Parameters

core SceneNode

OnCreateSceneNode()

Called when [create scene node].

protected override SceneNode OnCreateSceneNode()

Returns

SceneNode