SceneCameraRenderer Class
Namespace: Stride.Rendering.Compositing
Assembly: Stride.Engine.dll
Defines and sets a RenderView and set it up using Camera or current context camera.
[Display("Camera Renderer", null)]
public class SceneCameraRenderer : SceneRendererBase, IComponent, IReferencable, ICollectorHolder, ISceneRenderer, IRenderCollector, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
|
Improve this Doc
View Source
Fields
Logger
Field Value
|
Improve this Doc
View Source
Properties
Camera
public SceneCameraSlot Camera { get; set; }
Property Value
Child
public ISceneRenderer Child { get; set; }
Property Value
RenderMask
public RenderGroupMask RenderMask { get; set; }
Property Value
RenderView
public RenderView RenderView { get; }
Property Value
|
Improve this Doc
View Source
Methods
CollectCore(RenderContext)
protected override void CollectCore(RenderContext context)
Parameters
Overrides
CollectInner(RenderContext)
protected virtual void CollectInner(RenderContext renderContext)
Parameters
DrawCore(RenderContext, RenderDrawContext)
protected override void DrawCore(RenderContext context, RenderDrawContext drawContext)
Parameters
Overrides
DrawInner(RenderDrawContext)
protected virtual void DrawInner(RenderDrawContext renderContext)
Parameters
ResolveCamera(RenderContext)
Resolves camera to the one contained in slot Camera.
protected virtual CameraComponent ResolveCamera(RenderContext renderContext)
Parameters
Returns
UpdateCameraToRenderView(RenderContext, RenderView, CameraComponent)
public static void UpdateCameraToRenderView(RenderContext context, RenderView renderView, CameraComponent camera)
Parameters
Extension Methods