Click or drag to resize
Ab4d.SharpEngine logo

IPointLight Interface

IPointLight interface represents a lights that emits light in all directions from a specified position.

Namespace: Ab4d.SharpEngine.Lights
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public interface IPointLight : ILight

The IPointLight type exposes the following members.

Properties
 NameDescription
Public propertyAttenuation Gets a Vector3 that specifies the parameters for the quadratic light function - the Vector3 components are: constant, linear and quadratic parameter.
Public propertyPosition Gets a Vector3 that specifies the positions of this light.
Public propertyRange Gets 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.
Top
See Also