Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RenderView Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    Defines a view used during rendering. This is usually a frustum and some camera parameters.

    System.Object → RenderView
    Derived from RenderView: ShadowMapRenderView

    public class RenderView
    Name Description
    Fields
    FarClipPlane

    Near clip plane.

    Features

    The part of the view specific to a given RootRenderFeature.

    Frustum

    The frustum extracted from the view projection matrix.

    Index

    Index in Views.

    NearClipPlane

    Far clip plane.

    Projection

    The projection matrix for this view.

    RenderObjects

    List of visible render objects.

    RenderStages

    List of data sepcific to each RenderStage for this RenderView.

    View

    The view matrix for this view.

    ViewProjection

    The view projection matrix for this view.

    ViewSize

    The size of the view being rendered.

    VisiblityIgnoreDepthPlanes

    Ignore depth planes in visibility test

    Properties
    CullingMask

    The culling mask.

    CullingMode

    The culling mode.

    Flags
    LightingView

    The view used for lighting (useful to share lighting results for two very close views such as VR)

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    FarClipPlane

    Near clip plane.

    public float FarClipPlane
    Field Value
    Type Description
    System.Single

    Features

    The part of the view specific to a given RootRenderFeature.

    public readonly List<RenderViewFeature> Features
    Field Value
    Type Description
    System.Collections.Generic.List<RenderViewFeature>

    Frustum

    The frustum extracted from the view projection matrix.

    public BoundingFrustum Frustum
    Field Value
    Type Description
    BoundingFrustum

    Index

    Index in Views.

    public int Index
    Field Value
    Type Description
    System.Int32

    NearClipPlane

    Far clip plane.

    public float NearClipPlane
    Field Value
    Type Description
    System.Single

    Projection

    The projection matrix for this view.

    public Matrix Projection
    Field Value
    Type Description
    Matrix

    RenderObjects

    List of visible render objects.

    public readonly ConcurrentCollector<RenderObject> RenderObjects
    Field Value
    Type Description
    ConcurrentCollector<RenderObject>

    RenderStages

    List of data sepcific to each RenderStage for this RenderView.

    public readonly List<RenderViewStage> RenderStages
    Field Value
    Type Description
    System.Collections.Generic.List<RenderViewStage>

    View

    The view matrix for this view.

    public Matrix View
    Field Value
    Type Description
    Matrix

    ViewProjection

    The view projection matrix for this view.

    public Matrix ViewProjection
    Field Value
    Type Description
    Matrix

    ViewSize

    The size of the view being rendered.

    public Vector2 ViewSize
    Field Value
    Type Description
    Vector2

    VisiblityIgnoreDepthPlanes

    Ignore depth planes in visibility test

    public bool VisiblityIgnoreDepthPlanes
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Properties


    CullingMask

    The culling mask.

    public RenderGroupMask CullingMask { get; set; }
    Property Value
    Type Description
    RenderGroupMask

    CullingMode

    The culling mode.

    public CameraCullingMode CullingMode { get; set; }
    Property Value
    Type Description
    CameraCullingMode

    Flags

    public RenderViewFlags Flags { get; set; }
    Property Value
    Type Description
    RenderViewFlags

    LightingView

    The view used for lighting (useful to share lighting results for two very close views such as VR)

    public RenderView LightingView { get; set; }
    Property Value
    Type Description
    RenderView
    Remarks

    This is a temporary workaround until shadow maps have a real scope: global or view-dependent (single view or multiple views).

    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    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