Method SetViewport SetViewport(CommandBuffer) Setup the viewport for the current overlay. Declaration public void SetViewport(CommandBuffer cmd) Parameters Type Name Description CommandBuffer cmd Command buffer used to setup viewport.