Click or drag to resize
Ab4d.SharpEngine logo

CameraLight Class

CameraLight is a directional light that has the same direction as the camera's LookDirection. It can be created by changing the camera's ShowCameraLight property.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.LightsLight
      Ab4d.SharpEngine.LightsCameraLight

Namespace: Ab4d.SharpEngine.Lights
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public class CameraLight : Light, 
	IDirectionalLight, ILight, ISpecularColorLight

The CameraLight type exposes the following members.

Properties
 NameDescription
Public propertyCamera Gets the camera that defined the direction of this CameraLights. The camera is set by the constructor.
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)
Public methodUpdate Update method updates the light's Direction to be the same as camera's LookDirection.
Top
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Lights.CameraLight"]

See Also