X-Plane Developer
Site Menu
  • Blog
  • Scenery Tools
    • Blender
    • Command-Line Tools
    • DataRefEditor
    • MeshTool
    • Substance Painter
    • WorldEditor (WED)
  • Videos
    • 2D Panels & Generic Instruments
    • Creating Airports with WorldEditor
    • Substance Painter Tutorial
  • Documentation
    • Air Traffic Control (ATC)
    • Aircraft
    • FMOD Sound
    • Modeling
    • Plugins
    • Scenery
    • Weather
    • Data Development
    • File Format Specifications
    • Requests for Comment
    • Datarefs
  • Source Code
    • Scenery Tools Bug Database
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.

We will never sell or share your email address; we’ll only use it to send you X‑Plane-related emails. (More info in our privacy policy.)

You’ll receive about one email a month, and you can unsubscribe at any time.

© X-Plane 2022
Privacy Policy