Search Results for

    Show / Hide Table of Contents

    Class PhotometricDirectionalLight

    This class represents all properties of a sunlight.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Light
    DirectionalLight
    PhotometricDirectionalLight
    Implements
    IDependencyObject
    Inherited Members
    DirectionalLight.SplitDistance
    DirectionalLight.LightType
    DirectionalLight.CascadeCount
    DirectionalLight.IsShadowEnabled
    DirectionalLight.DebugMode
    DirectionalLight.ShadowBias
    DirectionalLight.ShadowDistance
    DirectionalLight.GammaDistribution
    DirectionalLight.Direction
    DirectionalLight.Intersects(ref BoundingFrustum)
    DirectionalLight.Intersects(ref BoundingBox)
    DirectionalLight.ComputeBoundingBox(out BoundingBox)
    Light.ShadowMapManager
    Light.boundingFrustum
    Light.view
    Light.projection
    Light.renderProjection
    Light.viewProjection
    Light.renderViewProjection
    Light.Transform
    Light.color
    Light.shadowBias
    Light.shadowOpacity
    Light.OnIntensityChanged
    Light.OnColorChanged
    Light.OnShadowEnabledChanged
    Light.BoundingFrustum
    Light.Projection
    Light.RenderProjection
    Light.View
    Light.ViewProjection
    Light.RenderViewProjection
    Light.ShadowOpacity
    Light.LinearColor
    Light.LightDrawContext
    Light.OnAttached()
    Light.OnDetach()
    Light.FireOnShadowEnabledChanged()
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class PhotometricDirectionalLight : DirectionalLight, IDependencyObject

    Constructors

    PhotometricDirectionalLight()

    Initializes a new instance of the PhotometricDirectionalLight class.

    Declaration
    public PhotometricDirectionalLight()

    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
    Light.Color

    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

    Illuminance

    Gets or sets the directional light illuminance (lux).

    Declaration
    [RenderProperty(CustomPropertyName = "Illuminance (Lux)")]
    public float Illuminance { get; set; }
    Property Value
    Type Description
    float

    Intensity

    Gets or sets the light intensity.

    Declaration
    public override float Intensity { get; set; }
    Property Value
    Type Description
    float
    Overrides
    Light.Intensity

    Temperature

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

    Declaration
    [RenderProperty(AttachToValue = true, AttachToTag = 1)]
    public float Temperature { get; set; }
    Property Value
    Type Description
    float

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX