Search Results for

    Show / Hide Table of Contents

    Struct PointLightStruct

    Struct with aligned data for sending a point light to the shader.

    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public struct PointLightStruct

    Fields

    Attenuation

    Light attenuation.

    Declaration
    public float Attenuation
    Field Value
    Type Description
    float

    Color

    Light's diffuse color.

    Declaration
    public Vector3 Color
    Field Value
    Type Description
    Vector3

    Falloff

    Range of the light.

    Declaration
    public float Falloff
    Field Value
    Type Description
    float

    Position

    Position of the light.

    Declaration
    public Vector3 Position
    Field Value
    Type Description
    Vector3

    Extension Methods

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