Point |
public class PointLight : Light, IPointLight, ILight, ISpecularColorLight
The PointLight type exposes the following members.
Name | Description | |
---|---|---|
PointLight | Initializes a new instance of the PointLight class. | |
PointLight(Vector3, Single) | Initializes a new instance of the PointLight class. |
Name | Description | |
---|---|---|
Attenuation | Gets or sets a Vector3 that specifies the parameters for the quadratic light function - the Vector3 components are: constant, linear and quadratic parameter. Default value is (1, 0, 0) | |
Position | Gets or sets a Vector3 that specifies the positions of this light. | |
Range | Gets or sets a range of this point light - range does not affect the light brightness but just disables light calculation for all pixels that are farther away. | |
SpecularColor | Gets or sets a Color3 that specifies the specular color of this light. |
Name | Description | |
---|---|---|
ToString |
Returns a string that represents the current object.
(Overrides ObjectToString) |