Camera | |
public class CameraLight : Light, IDirectionalLight, ILight, ISpecularColorLight
The CameraLight type exposes the following members.
| Name | Description | |
|---|---|---|
| Camera | Gets the camera that defined the direction of this CameraLights. The camera is set by the constructor. | |
| Direction | Gets or sets a Vector3 that specifies the direction of this light. | |
| SpecularColor | Gets or sets a Color3 that specifies the specular color of this light. |
| Name | Description | |
|---|---|---|
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString) | |
| Update | Update method updates the light's Direction to be the same as camera's LookDirection. |