public interface IActiveViewWhich eye the editor is looking through right now.
Remarks
IActiveScene's companion, and it exists for one reason: a camera position is an input to rendering questions, not decoration. Doc 39's resolved volume stack is per camera because PostProcessVolumeSystem weighs every volume by how far the camera is from it — so a panel answering "why does it look like this" has to be able to say which eye it answered for, and to move when the user flies somewhere else.
⚠ A RenderView rather than a Vector3, and rather than the viewport. The view is the thing a frame is actually drawn through and the thing the volume system already takes; handing out a position would freeze at the moment of asking, and handing out the SceneViewport would put every pane's input handling in reach of anything that wanted a camera.
⚠ Null when no pane has focus, which is an ordinary state — an editor showing only an asset editor has no viewport at all — rather than a failure to report.
Fields and properties (1)
RenderView? CurrentThe view the focused pane draws through, or null when no pane has focus.
Used by (5)
- AssetEditorsModuleVixen.Editor.AssetEditors
- EditorApplicationVixen.Editor.App
- ShownViewVixen.Editor.App
- StandardFrameEditorFactoryVixen.Editor.AssetEditors
- StandardFrameViewVixen.Editor.AssetEditors