Search Results for

    Show / Hide Table of Contents

    Struct SpotLightStruct

    Struct with aligned data for sending a spotlight to the shader.

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

    Fields

    Color

    Light diffused color.

    Declaration
    public Vector3 Color
    Field Value
    Type Description
    Vector3

    ConeAngle

    The cone's angle.

    Declaration
    public float ConeAngle
    Field Value
    Type Description
    float

    Direction

    The direction.

    Declaration
    public Vector3 Direction
    Field Value
    Type Description
    Vector3

    Falloff

    Light's range.

    Declaration
    public float Falloff
    Field Value
    Type Description
    float

    Position

    The 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