Table of Contents

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

DependencyProperty

FalloffProperty

public static readonly DependencyProperty FalloffProperty

Field Value

DependencyProperty

InnerAngleProperty

public static readonly DependencyProperty InnerAngleProperty

Field Value

DependencyProperty

OuterAngleProperty

public static readonly DependencyProperty OuterAngleProperty

Field Value

DependencyProperty

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

Vector3D

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

double

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

double

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

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