Skip to content

IViewDrawer

namespace Griff.Runtime;
public interface IViewDrawer

A system that draws the world its own way (a first-person view) in place of the camera’s view from above: called as each frame is drawn, before any system’s Draw, to set Sprites, View and ViewProjection (and SeenThrough). Every system then draws over it. Called for each view too, with the view’s own camera: a first-person camera can be the main one or a viewport’s.

public abstract void DrawView(FrameDrawing frame)

Draws the world the system’s way into frame.