ZSCore creates a stereo viewport for you, as well as the associated stereo frustum. Use these functions to get the stereo viewport's position and size.
List of Functions |
|
void | ZSCore::GetViewportPosition (out int x, out int y) |
Get the viewport's top-left corner in pixels. |
|
void | ZSCore::GetViewportSize (out int width, out int height) |
Get the viewport's size in pixels. |
|
Vector3 | ZSCore::GetViewportOffset () |
DEPRECATED: Use GetCoordinateSpaceTransform() instead. |
DEPRECATED: Use GetCoordinateSpaceTransform() instead.
Get the viewport's top-left corner in pixels.
x | Left-most position. |
y | Top-most position. |