X-Plane Developer
Site Menu
  • Blog
  • Scenery Tools
    • Blender
    • Command-Line Tools
    • DataRefEditor
    • MeshTool
    • Substance Painter
    • WorldEditor (WED)
  • Videos
    • Creating Airports with WorldEditor
    • Substance Painter Tutorial
  • Documentation
    • Air Traffic Control (ATC)
    • Aircraft
    • Modeling
    • Plugins
    • Scenery
    • Weather
    • Data Development
    • File Format Specifications
    • Requests for Comment
    • Datarefs
  • Source Code
    • Scenery Tools Bug Database
Search

XPGetTrackDefaultDimensions

X-Plane Developer > SDK Documentation > XPUIGraphics > XPGetTrackDefaultDimensions

XPGetTrackDefaultDimensions

WIDGET_API void       XPGetTrackDefaultDimensions(
                         XPTrackStyle         inStyle,    
                         int *                outWidth,    
                         int *                outCanBeLit);    

This routine returns a track’s default smaller dimension; all tracks are scalable in the larger dimension. It also returns whether a track can be lit.

Contents

  • 1 XPGetTrackDefaultDimensions

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 2021
Privacy Policy