Search Results for

    Show / Hide Table of Contents

    Class PhotometricLightProperties

    This class manges the photometric properties of a light.

    Inheritance
    object
    PhotometricLightProperties
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class PhotometricLightProperties

    Constructors

    PhotometricLightProperties(Light, bool, float)

    Initializes a new instance of the PhotometricLightProperties class.

    Declaration
    public PhotometricLightProperties(Light light, bool colorByTemperature = true, float temperature = 6500)
    Parameters
    Type Name Description
    Light light

    The associated light.

    bool colorByTemperature

    The color is set by temperature.

    float temperature

    The color temperature.

    Properties

    ColorByTemperature

    Gets or sets a value indicating whether the color is set by temperature.

    Declaration
    public bool ColorByTemperature { get; set; }
    Property Value
    Type Description
    bool

    Temperature

    Gets or sets the light temperature in Kelvin (K).

    Declaration
    public float Temperature { get; set; }
    Property Value
    Type Description
    float

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX