[]
Represents the base class for light sources.
public abstract class Light : IXmlSerializable
Public MustInherit Class Light
Implements IXmlSerializable
| Name | Description |
|---|---|
| Light() | Creates a new light. |
| Light(Light) | Creates a new light that is a copy of the specified light. |
| Name | Description |
|---|---|
| AmbientColor | Gets or sets the ambient color of the light. |
| DiffuseColor | Gets or sets the diffuse color of the light. |
| SpecularColor | Gets or sets the specular color of the light. |
| Name | Description |
|---|---|
| GetSchema() | This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the System.Xml.Serialization.XmlSchemaProviderAttribute to the class. |
| OnChanged(EventArgs) | Raises the Changed event. |
| ReadXml(XmlReader) | Generates an object from its XML representation. |
| WriteXml(XmlWriter) | Converts an object into its XML representation. |
| Name | Description |
|---|---|
| Changed | Occurs when the light is changed. |