MatrixState::SetOrientation

MatrixState::SetOrientation
virtual Viewport SetOrientation(const Viewport& vp);
Description

SetOrientation sets the orientation (landscape or portrait) of the viewport.

Parameters
Parameters 
Description 
const Viewport& vp 
The current viewport. 
Return Value

The modified viewport, based on the new orientation.