[]
Represents a directional light source.
[TypeConverter(typeof(GenericTypeConverter<DirectionalLight>))]
public class DirectionalLight : Light, IXmlSerializable, ICloneable
<TypeConverter(GetType(GenericTypeConverter(Of DirectionalLight)))>
Public Class DirectionalLight
Inherits Light
Implements IXmlSerializable, ICloneable
Name | Description |
---|---|
DirectionalLight() | Creates a new light. |
DirectionalLight(DirectionalLight) | Creates a new light that is a copy of the specified light. |
Name | Description |
---|---|
DirectionX | Gets or sets the x coordinate of the direction of the light. |
DirectionY | Gets or sets the y coordinate of the direction of the light. |
DirectionZ | Gets or sets the z coordinate of the direction of the light. |
Name | Description |
---|---|
Clone() | Creates a copy of this light. |
GetSchema() | This method is reserved and should not be used. |
ReadXml(XmlReader) | Generates an object from its XML representation. |
WriteXml(XmlWriter) | Writes the XML. |