Skip to content

IViewFocus

namespace Griff.Scenes;
public interface IViewFocus

Any component that says what the view is centred on, such as a Follow on a camera: a screen effect that closes in on the action (the iris) looks there, with no entity called anything in particular. Any component can be one.

public abstract Entity? Focus { get; }

What the view is centred on right now, or null.