Compartir a través de


Light 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.]

Defines a set of lighting properties.

The Light type exposes the following members.

Constructors

  Name Description
Public methodSupported by the .NET Compact Framework Light Initializes a new instance of the Light class.

Top

Methods

  Name Description
Public methodSupported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact Framework 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.)
Public methodSupported by the .NET Compact Framework FromLight Creates a new light based on an existing light.
Public methodSupported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework Update Updates the settings for the current Light object.

Top

Properties

  Name Description
Public propertySupported by the .NET Compact Framework Ambient Retrieves or sets the ambient color emitted by the light.
Public propertySupported by the .NET Compact Framework AmbientColor A color that represents the ambient color emitted by the light.
Public propertySupported by the .NET Compact Framework Attenuation0 Retrieves or sets a value that specifies light intensity.
Public propertySupported by the .NET Compact Framework Attenuation1 Retrieves or sets a value that specifies how light intensity changes over distance.
Public propertySupported by the .NET Compact Framework Attenuation2 Retrieves or sets a value that specifies how light intensity changes over distance.
Public propertySupported by the .NET Compact Framework Diffuse Retrieves or sets the diffuse color emitted by the light.
Public propertySupported by the .NET Compact Framework DiffuseColor A color that represents the diffuse color emitted by the light.
Public propertySupported by the .NET Compact Framework Direction Retrieves or sets the direction in which the light is pointing in world space, as specified by a Vector3 structure.
Public propertySupported by the .NET Compact Framework Enabled Indicates whether lighting parameters are enabled within a device.
Public propertySupported by the .NET Compact Framework Position Retrieves or sets the position of the light in world space, as specified by a Vector3 structure.
Public propertySupported by the .NET Compact Framework Range Retrieves or sets the distance beyond which the light has no effect.
Public propertySupported by the .NET Compact Framework Specular Retrieves or sets the specular color emitted by the light.
Public propertySupported by the .NET Compact Framework SpecularColor Retrieves or sets the specular color emitted by the light.
Public propertySupported by the .NET Compact Framework Type Retrieves or sets the type of the light source.

Top

See Also

Reference

Light Class

Microsoft.WindowsMobile.DirectX.Direct3D Namespace