次の方法で共有


LightFixed Members

Represents a set of lighting properties. This class cannot be inherited.

The following tables list the members exposed by the LightFixed type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework LightFixed Initializes a new instance of the LightFixed structure.

Top

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework FromLightFixed Creates a new light based on an existing light.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Update Updates the settings for the current Light object.

Top

Protected Methods

  Name Description
Protected method Supported 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.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

See Also

Reference

LightFixed Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming