The ProjectorLight type exposes the following members.

Constructors

  NameDescription
Public methodProjectorLight()()()()
Initializes a new instance of the ProjectorLight class.
Public methodProjectorLight(Texture2D, PerspectiveProjection)
Initializes a new instance of the ProjectorLight class.

Methods

  NameDescription
Public methodClone
Creates a new Light that is a clone (deep copy) of the current instance.
(Inherited from Light.)
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified Light.
(Overrides Light..::..CloneCore(Light).)
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the Light derived class.
(Overrides Light..::..CreateInstanceCore()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIntensity
Gets the (approximated) light intensity at the given distance.
(Overrides Light..::..GetIntensity(Single).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAttenuation
Gets or sets the attenuation exponent for the distance attenuation.
Public propertyColor
Gets or sets the RGB color of the light.
Public propertyDiffuseIntensity
Gets or sets the diffuse intensity of the light.
Public propertyHdrScale
Gets or sets the HDR scale of the light.
Public propertyName
Gets or sets the name of the light.
(Inherited from Light.)
Public propertyProjection
Gets or sets the projection.
Public propertyShape
Gets (or sets) the shape of the light volume.
(Inherited from Light.)
Public propertySpecularIntensity
Gets or sets the specular intensity of the light.
Public propertyTexture
Gets or sets the texture.

See Also