Spot |
public class SpotLight : IDiscreteLight, IImmutable
The SpotLight type exposes the following members.
| Name | Description | |
|---|---|---|
| SpotLight | Initializes a new instance of the SpotLight class with default values. | |
| SpotLight(Double, NamedColor, PointD3D, VectorD3D, Double, Double, Double, Boolean) | Initializes a new instance of the SpotLight class. |
| Name | Description | |
|---|---|---|
| Color | Gets the color of the light. | |
| DirectionToLight | Gets the direction from the scene to the light. | |
| InnerConeAngle | Gets the inner cone angle (in radians). | |
| IsAffixedToCamera | Gets a value indicating whether this light source is affixed to the camera coordinate system or to the world coordinate system. | |
| LightAmplitude | Gets the light amplitude. The default value is 1. This value is multiplied with the light Color to get the effective light's color. | |
| OuterConeAngle | Gets the outer cone angle (in radians). | |
| Position | Gets the direction from the light to the scene | |
| Range | Gets the range of this light source (in world coordinate units). |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (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) | |
| WithColor | Gets a new instance of SpotLight with the provided value for Color. | |
| WithDirectionToLight | Gets a new instance of SpotLight with the provided value for DirectionToLight. | |
| WithInnerConeAngle | Gets a new instance of SpotLight with the provided value for InnerConeAngle. | |
| WithLightAmplitude | Gets a new instance of SpotLight with the provided value for LightAmplitude. | |
| WithOuterConeAngle | Gets a new instance of SpotLight with the provided value for OuterConeAngle. | |
| WithPosition | Gets a new instance of SpotLight with the provided value for Position. | |
| WithRange | Gets a new instance of SpotLight with the provided value for Range. | |
| WithValueAffixedToCamera | Gets a new instance of SpotLight with the provided value for IsAffixedToCamera. |