Meta_DummyHMDViewport
Module: Metanodes / Definitions
A dummy viewport type that passes through the image for testing.
#include <meta_view.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_Enabled, Idx_Rectangle, Idx_Camera, Idx_MirrorFillWindow, Idx_MirrorSplitScreen } |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Enabled | bool - When enabled, viewport is drawn to the screen | |
| Idx_Rectangle | vec4f - The viewport bounds, scaled on the screen by the ViewportLayout size. (e.g. layout size 2.0, 1.0, and child viewport width 1.0 will fill half the screen with the viewport) | |
| Idx_Camera | link - The camera from which the scene is rendered | |
| Idx_MirrorFillWindow | bool - if true some of the image seen in the rift will be cropped when displayed in the main window. | |
| Idx_MirrorSplitScreen | bool - if true then both eyes will be displayed in a split screen fashion |