Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    LightProbeGenerator Class

    Namespace: Stride.Rendering.LightProbes
    Assembly: Stride.Engine.dll
    System.Object → LightProbeGenerator
    Derived from LightProbeGenerator:

    public static class LightProbeGenerator
    Name Description
    Fields
    LambertHamonicOrder
    Methods
    GenerateCoefficients(ISceneRendererContext)
    GenerateRuntimeData(FastList<LightProbeComponent>)
    UpdateCoefficients(LightProbeRuntimeData)
    | Improve this Doc View Source

    Fields


    LambertHamonicOrder

    public const int LambertHamonicOrder = 3
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Methods


    GenerateCoefficients(ISceneRendererContext)

    public static Dictionary<LightProbeComponent, FastList<Color3>> GenerateCoefficients(ISceneRendererContext context)
    Parameters
    Type Name Description
    ISceneRendererContext context
    Returns
    Type Description
    System.Collections.Generic.Dictionary<LightProbeComponent, FastList<Color3>>

    GenerateRuntimeData(FastList<LightProbeComponent>)

    public static LightProbeRuntimeData GenerateRuntimeData(FastList<LightProbeComponent> lightProbes)
    Parameters
    Type Name Description
    FastList<LightProbeComponent> lightProbes
    Returns
    Type Description
    LightProbeRuntimeData

    UpdateCoefficients(LightProbeRuntimeData)

    public static void UpdateCoefficients(LightProbeRuntimeData runtimeData)
    Parameters
    Type Name Description
    LightProbeRuntimeData runtimeData

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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