Class DirectionalLight
Light object that projects its effect along a direction specified by a Vector3D.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class DirectionalLight : Light, INotifyPropertyChanged
Constructors
DirectionalLight()
Initializes a new instance of the DirectionalLight class.
Declaration
public DirectionalLight()
DirectionalLight(Color, Vector3D)
Initializes a new instance of the DirectionalLight class.
Declaration
public DirectionalLight(Color diffuseColor, Vector3D direction)
Parameters
System.Windows.Media.Color
diffuseColor
Diffuse color of the new light. |
Vector3D
direction
Direction of the new light. |
Fields
DirectionProperty
Identifies the Direction dependency property.
Declaration
public static readonly DependencyProperty DirectionProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Direction
Represents the vector along which the light's effect will be seen on models in a 3-D scene. This is a dependency property.
Declaration
public Vector3D Direction { get; set; }
Property Value
Vector3D
|