Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    RenderLight Class

    Namespace: Stride.Rendering.Lights
    Assembly: Stride.Rendering.dll
    System.Object → RenderLight
    Derived from RenderLight:

    public class RenderLight
    Name Description
    Fields
    Color
    Direction

    Gets the light direction in World-Space (computed by the ) (readonly field).

    Intensity
    Position

    Gets the light position in World-Space (computed by the ) (readonly field). See remarks.

    Type
    WorldMatrix
    | Improve this Doc View Source

    Fields


    Color

    public Color3 Color
    Field Value
    Type Description
    Color3

    Direction

    Gets the light direction in World-Space (computed by the ) (readonly field).

    public Vector3 Direction
    Field Value
    Type Description
    Vector3

    The direction.

    Remarks

    This property should only be used inside a renderer and not from a script as it is updated after scripts


    Intensity

    public float Intensity
    Field Value
    Type Description
    System.Single

    Position

    Gets the light position in World-Space (computed by the ) (readonly field). See remarks.

    public Vector3 Position
    Field Value
    Type Description
    Vector3

    The position.

    Remarks

    This property should only be used inside a renderer and not from a script as it is updated after scripts


    Type

    public ILight Type
    Field Value
    Type Description
    ILight

    WorldMatrix

    public Matrix WorldMatrix
    Field Value
    Type Description
    Matrix

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation