Search Results for

    Show / Hide Table of Contents

    Struct LightStruct

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

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public struct LightStruct

    Fields

    Color

    Light diffuse color.

    Declaration
    public Vector3 Color
    Field Value
    Type Description
    Vector3

    ConeAngle

    The cone angle.

    Declaration
    public float ConeAngle
    Field Value
    Type Description
    float

    Direction

    The direction.

    Declaration
    public Vector3 Direction
    Field Value
    Type Description
    Vector3

    Intensity

    Sport exponent.

    Declaration
    public float Intensity
    Field Value
    Type Description
    float

    LightRange

    Light range.

    Declaration
    public float LightRange
    Field Value
    Type Description
    float

    Position

    Light position.

    Declaration
    public Vector3 Position
    Field Value
    Type Description
    Vector3

    World

    The world instance.

    Declaration
    public Matrix4x4 World
    Field Value
    Type Description
    Matrix4x4

    Extension Methods

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