Class SpotLight3D
- Namespace
- HelixToolkit.Wpf.SharpDX
- Assembly
- HelixToolkit.Wpf.SharpDX.dll
public sealed class SpotLight3D : PointLight3D, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IDisposable, IVisible
- Inheritance
-
SpotLight3D
- Implements
- Inherited Members
- Extension Methods
Fields
DirectionProperty
public static readonly DependencyProperty DirectionProperty
Field Value
FalloffProperty
public static readonly DependencyProperty FalloffProperty
Field Value
InnerAngleProperty
public static readonly DependencyProperty InnerAngleProperty
Field Value
OuterAngleProperty
public static readonly DependencyProperty OuterAngleProperty
Field Value
Properties
Direction
Direction of the light. It applies to Directional Light and to Spot Light, for all other lights it is ignored.
public Vector3D Direction { get; set; }
Property Value
Falloff
Decay Exponent of the spotlight. The falloff the spotlight between inner and outer angle depends on this value. For details see: http://msdn.microsoft.com/en-us/library/windows/desktop/bb174697(v=vs.85).aspx
public double Falloff { get; set; }
Property Value
InnerAngle
Full inner angle of the spot (Theta) in degrees. For details see: http://msdn.microsoft.com/en-us/library/windows/desktop/bb174697(v=vs.85).aspx
public double InnerAngle { get; set; }
Property Value
OuterAngle
Full outer angle of the spot (Phi) in degrees For details see: http://msdn.microsoft.com/en-us/library/windows/desktop/bb174697(v=vs.85).aspx
public double OuterAngle { 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()