LightFixed Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a set of lighting properties. This class cannot be inherited.
The LightFixed type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LightFixed | Initializes a new instance of the LightFixed structure. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromLightFixed | Creates a new light based on an existing light. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Update | Updates the settings for the current Light object. |
Top
Properties
Name | Description | |
---|---|---|
Ambient | Gets or sets the ambient color emitted by the light. | |
AmbientColor | Gets or sets a color that represents the ambient color emitted by the light. | |
Attenuation0 | Gets or sets a value that specifies how light intensity changes over distance. | |
Attenuation1 | Gets or sets a value that specifies how light intensity changes over distance. | |
Attenuation2 | Gets or sets a value that specifies how light intensity changes over distance. | |
Diffuse | Gets or sets the diffuse color emitted by the light. | |
DiffuseColor | Gets or sets a color that represents the diffuse color emitted by the light. | |
Direction | Gets or sets the direction in which the light is pointing in world space, as specified by a Vector3 structure. | |
Enabled | Indicates whether lighting parameters are enabled within a device. | |
Position | Gets or sets the position of the light in world space, as specified by a Vector3 structure. | |
Range | Gets or sets the distance beyond which the light has no effect. | |
Specular | Gets or sets the specular color emitted by the light. | |
SpecularColor | Gets or sets the specular color emitted by the light. | |
Type | Gets or sets the type of the light source. |
Top