Class PhotometricPointLight
This class represents a point light with physics units.
Inheritance
PhotometricPointLight
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class PhotometricPointLight : PointLight, IDependencyObject
Constructors
PhotometricPointLight()
Initializes a new instance of the PhotometricPointLight class.
Declaration
public PhotometricPointLight()
Properties
Color
Gets or sets the light color.
Declaration
[RenderProperty(AttachToValue = false, AttachToTag = 1)]
public override Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color | The diffuse color. |
Overrides
ColorByTemperature
Gets or sets a value indicating whether the light temperature is specified by a temperature.
Declaration
[RenderProperty(Tag = 1)]
public bool ColorByTemperature { get; set; }
Property Value
Type | Description |
---|---|
bool |
Intensity
Gets or sets the light intensity.
Declaration
public override float Intensity { get; set; }
Property Value
Type | Description |
---|---|
float |
Overrides
LuminousPower
Gets or sets the directional light illuminance (lux).
Declaration
[RenderProperty(CustomPropertyName = "Luminous Power (Lumen)")]
public float LuminousPower { get; set; }
Property Value
Type | Description |
---|---|
float |
Temperature
Gets or sets the light temperature in kelvin (K).
Declaration
[RenderProperty(AttachToValue = true, AttachToTag = 1)]
public float Temperature { get; set; }
Property Value
Type | Description |
---|---|
float |