Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CubemapSceneRenderer Class

    Namespace: Stride.Rendering.Skyboxes
    Assembly: Stride.Engine.dll
    System.Object → CubemapRendererBase → CubemapSceneRenderer
    Derived from CubemapSceneRenderer:

    public class CubemapSceneRenderer : CubemapRendererBase, IDisposable
    Name Description
    Constructors
    CubemapSceneRenderer(ISceneRendererContext, Int32)
    Methods
    Dispose()
    DrawImpl()
    GenerateCubemap(ISceneRendererContext, Vector3, Int32)
    | Improve this Doc View Source

    Constructors


    CubemapSceneRenderer(ISceneRendererContext, Int32)

    public CubemapSceneRenderer(ISceneRendererContext context, int textureSize)
    Parameters
    Type Name Description
    ISceneRendererContext context
    System.Int32 textureSize
    | Improve this Doc View Source

    Methods


    Dispose()

    public override void Dispose()
    Overrides
    CubemapRendererBase.Dispose()

    DrawImpl()

    protected override void DrawImpl()
    Overrides
    CubemapRendererBase.DrawImpl()

    GenerateCubemap(ISceneRendererContext, Vector3, Int32)

    public static Texture GenerateCubemap(ISceneRendererContext context, Vector3 position, int textureSize)
    Parameters
    Type Name Description
    ISceneRendererContext context
    Vector3 position
    System.Int32 textureSize
    Returns
    Type Description
    Texture

    Inherited Members

    CubemapRendererBase.OutputTextureSize
    CubemapRendererBase.OutputTextureFormat
    CubemapRendererBase.Camera
    CubemapRendererBase.DrawContext
    CubemapRendererBase.Draw(Vector3, Texture)
    CubemapRendererBase.GenerateCubemap(CubemapRendererBase, Vector3)

    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