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
PositionProperty
public static readonly DependencyProperty PositionProperty
Field Value
RangeProperty
public static readonly DependencyProperty RangeProperty
Field Value
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
Position
The position of the model in world space.
public Point3D Position { get; set; }
Property Value
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
Methods
AssignDefaultValuesToSceneNode(SceneNode)
protected override void AssignDefaultValuesToSceneNode(SceneNode core)
Parameters
coreSceneNode
OnCreateSceneNode()
Called when [create scene node].
protected override SceneNode OnCreateSceneNode()