Table of Contents

Class PointLight3D

Namespace
HelixToolkit.WinUI.SharpDX
Assembly
HelixToolkit.WinUI.SharpDX.dll
public class PointLight3D : Light3D, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Control>, IDisposable, IVisible
Inheritance
PointLight3D
Implements
IWinRTObject
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 Vector3 Attenuation { get; set; }

Property Value

Vector3

Position

The position of the model in world space.

public Vector3 Position { get; set; }

Property Value

Vector3

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