Click or drag to resize
Ab4d.SharpEngine logo

DirectionalLight Class

DirectionalLight is a light that shines from infinity and has a direction vector set.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.LightsLight
      Ab4d.SharpEngine.LightsDirectionalLight

Namespace: Ab4d.SharpEngine.Lights
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class DirectionalLight : Light, 
	IDirectionalLight, ILight, ISpecularColorLight

The DirectionalLight type exposes the following members.

Constructors
 NameDescription
Public methodDirectionalLight Initializes a new instance of the DirectionalLight class.
Public methodDirectionalLight(Vector3) Initializes a new instance of the DirectionalLight class.
Top
Properties
 NameDescription
Public propertyDirection Gets or sets a Vector3 that specifies the direction of this light.
Public propertySpecularColor Gets or sets a Color3 that specifies the specular color of this light.
Top
Methods
 NameDescription
Public methodToString Returns a string that represents the current object.
(Overrides ObjectToString)
Top
See Also