XPLMDrawInfo t

From X-Plane SDK
Jump to: navigation, search

XPLMDrawInfo_t

The XPLMDrawInfo_t structure contains positioning info for one object that is to be drawn. Be sure to set structSize to the size of the structure for future expansion.
typedef struct {
     int                       structSize;
Set this to the size of this structure!
     float                     x;
X location of the object in local coordinates.
     float                     y;
Y location of the object in local coordinates.
     float                     z;
Z location of the object in local coordinates.
     float                     pitch;
Pitch in degres to rotate the object, positive is up.
     float                     heading;
Heading in local coordinates to rotate the object, clockwise.
     float                     roll;
Roll to rotate the object.
} XPLMDrawInfo_t;