Class RenderView
Defines a view used during rendering. This is usually a frustum and some camera parameters.
public class RenderView
- Inheritance
-
RenderView
- Derived
Fields
FarClipPlane
Near clip plane.
public float FarClipPlane
Field Value
Features
The part of the view specific to a given RootRenderFeature.
public readonly List<RenderViewFeature> Features
Field Value
Frustum
The frustum extracted from the view projection matrix.
public BoundingFrustum Frustum
Field Value
Index
Index in Views.
public int Index
Field Value
NearClipPlane
Far clip plane.
public float NearClipPlane
Field Value
Projection
The projection matrix for this view.
public Matrix Projection
Field Value
RenderObjects
List of visible render objects.
public readonly ConcurrentCollector<RenderObject> RenderObjects
Field Value
RenderStages
List of data sepcific to each RenderStage for this RenderView.
public readonly List<RenderViewStage> RenderStages
Field Value
View
The view matrix for this view.
public Matrix View
Field Value
ViewProjection
The view projection matrix for this view.
public Matrix ViewProjection
Field Value
ViewSize
The size of the view being rendered.
public Vector2 ViewSize
Field Value
VisiblityIgnoreDepthPlanes
Ignore depth planes in visibility test
public bool VisiblityIgnoreDepthPlanes
Field Value
Properties
CullingMask
The culling mask.
public RenderGroupMask CullingMask { get; set; }
Property Value
CullingMode
The culling mode.
public CameraCullingMode CullingMode { get; set; }
Property Value
Flags
public RenderViewFlags Flags { get; set; }
Property Value
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
Remarks
This is a temporary workaround until shadow maps have a real scope: global or view-dependent (single view or multiple views).
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.