X-Plane Developer
Site Menu
  • Blog
  • Scenery Tools
    • AC3D Plugin
    • Command-Line Tools
    • DataRefEditor
    • MeshTool
    • WorldEditor
  • Videos
    • Creating Airports with WorldEditor
  • Documentation
    • Plugins
    • Aircraft
    • Scenery
    • Weather
    • Modeling
    • File Format Specifications
    • Data Development
    • Requests for Comment
  • Source Code
    • Scenery Tools Bug Database
    • State of Scenery Tools Development
Search

XPLMSetWindowGeometryVR

X-Plane Developer > SDK Documentation > XPLMDisplay > XPLMSetWindowGeometryVR

XPLMSetWindowGeometryVR

XPLM_API void                 XPLMSetWindowGeometryVR(
                                   XPLMWindowID         inWindowID,    
                                   int                  widthBoxels,    
                                   int                  heightBoxels);    

This routine allows you to set the size, in boxels, of a window in VR (that is, a window whose positioning mode is xplm_WindowVR).

Note that you are responsible for ensuring your window is in VR (using XPLMWindowIsInVR()).

Contents

  • 1 XPLMSetWindowGeometryVR

X-Plane

Developer resources for the X-Plane flight simulator

FacebookTwitterYouTube

Never miss an update

Sign up for email updates below to get the latest X‑Plane news in your inbox.

© X-Plane 2018