RenderView Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Defines a view used during rendering. This is usually a frustum and some camera parameters.
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() | ||
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 | 
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).
Methods
ToString()
public override string ToString()
              Returns
| Type | Description | 
|---|---|
| System.String |