Dataref Search



Login and click large "+" icons to the right to add comment to dataref. [How? >>YouTube]
sim/
sim/graphics/
sim/graphics/settings/
sim/graphics/settings/non_proportional_vertical_FOV
int as a boolean
v9.0.0+
FOV is non proportional, use if sim/graphics/view/vertical_field_of_view_deg needs to be written to.
sim/graphics/view/
sim/graphics/view/acf_matrix[16]
float in Matrix4x4
v10.50.0+
A modelview matrix to draw in the user's aircraft coordinates - valid only during draw callbacks
sim/graphics/view/cinema_verite
int as a boolean
v10.25.0+
True if cinema verite camera is on.
sim/graphics/view/click_3d_x
float in 0-1
v8.50.0+
Coordinates of the panel click in 3-d
sim/graphics/view/click_3d_x_pixels
float in 0-1
v8.60.0+
Coordinates of the panel click in 3-d
2024-01-28pbuck:
Correction: values are 0-n, reflecting width and height of the panel, not 0-1 like click_3d. Returns -1 when mouse is not over any panel region.
sim/graphics/view/click_3d_y
float in 0-1
v8.50.0+
As texture coords (E.g. 0-1)
sim/graphics/view/click_3d_y_pixels
float in 0-1
v8.60.0+
As texture coords (E.g. 0-1)
sim/graphics/view/cockpit_heading
float in degrees
v8.0.0+
The cockpit's roll (the dataref is name wrong - this is really roll)
sim/graphics/view/cockpit_pitch
float in degrees
v8.0.0+
The cockpit's pitch
sim/graphics/view/cockpit_roll
float in degrees
v8.0.0+
The cockpit's heading (the dataref name is wrong - this is really true heading)
sim/graphics/view/current_gl_fbo
int in GLenum
v11.50.0+
During drawing and FL callbacks, this is the correct GL_FRAMEBUFFER binding to restore if you need to render off-screen. Will be 0 when no bridge FBO is provided
sim/graphics/view/dome_offset_heading
float in degrees
v9.40.0+
The horizontal offset for this pass, in degrees (is not available between 12.0.7 - 12.0.9)
sim/graphics/view/dome_offset_pitch
float in degrees
v9.40.0+
The vertical offset for this pass, in degrees (is not available between 12.0.7 - 12.0.9)
sim/graphics/view/draw_call_type
int in enum
v11.20.0+
Stereo status of the draw callback. 0 = not in draw callback, 1 = mono, 2 = direct stereo (only use XPLMDrawObjects), 3 = left eye, 4 = right eye
sim/graphics/view/elumens_ref_phi
float in degrees
v7.0.0 - v8.99.0
Pitch, heading and roll for projection onto an Elumens screen
sim/graphics/view/elumens_ref_psi
float in degrees
v7.0.0 - v8.99.0
Pitch, heading and roll for projection onto an Elumens screen
sim/graphics/view/elumens_ref_the
float in degrees
v7.0.0 - v8.99.0
Pitch, heading and roll for projection onto an Elumens screen
sim/graphics/view/elumens_tex_height
int in pixels
v7.0.0 - v8.99.0
Size of texture Elumens screen gets
sim/graphics/view/elumens_tex_width
int in pixels
v7.0.0 - v8.99.0
Size of texture Elumens screen gets
sim/graphics/view/eq_trackir
int as a boolean
v10.30.0+
Does the user have trackIR hardware enabled
sim/graphics/view/field_of_view_deg
float in degrees
v6.60.0+
Horizontal field of view in degrees
sim/graphics/view/field_of_view_horizontal_deg
float in degrees
v6.60.0+
Heading rotation for multi-monitor setup.
sim/graphics/view/field_of_view_horizontal_ratio
float as a ratio
v6.60.0+
Horizontal frustum shift (xp 6,7,8,10,11,12) - 1 unit shifts frustum by screen width - not available in v9.
sim/graphics/view/field_of_view_roll_deg
float in degrees
v7.0.0+
Roll rotation for multi-monitor setup.
sim/graphics/view/field_of_view_vertical_deg
float in degrees
v6.60.0+
Pitch rotation for multi-monitor setup.
sim/graphics/view/field_of_view_vertical_ratio
float as a ratio
v6.60.0+
Vertical frustum shift (xp 6,7,8,12 - not available in xp 9, 10 or 11).
sim/graphics/view/hardware_msaa_samples
int in count
v11.50.0 - v11.99.0
The MSAA sample count for rendered windows. Note that '1' means MSAA is not being used, not that MSAA is being used with a single sample count.
sim/graphics/view/hide_yoke
int as a boolean
v10.41.0+
Is the yoke visible in the 3-d cockpit?
sim/graphics/view/is_reverse_float_z
int as a boolean
v11.30.0+
True if current rendering is reverse-float-Z with clip control set ot 0..1. False for conventional GL rendering.
sim/graphics/view/is_reverse_y
int as a boolean
v11.50.0+
True if current rendering is reversed-Y (+Y = down) - false for conventional +Y=up rendering. This indicates how the framebuffer is set up - the transform stack will be set up to correctly flip Y if used.
sim/graphics/view/local_map_b
float in pixels
v9.0.0+
Bounds of the local map window during callbacks - bottom
sim/graphics/view/local_map_l
float in pixels
v9.0.0+
Bounds of the local map window during callbacks - left
sim/graphics/view/local_map_r
float in pixels
v9.0.0+
Bounds of the local map window during callbacks - right
sim/graphics/view/local_map_t
float in pixels
v9.0.0+
Bounds of the local map window during callbacks - top
sim/graphics/view/local_profile_ref_x
float in meters
v9.0.0 - v9.22.0
Location (in world coordinates) of the 'reference' point (lower left corner) of the profile view
sim/graphics/view/local_profile_ref_y
float in meters
v9.0.0 - v9.22.0
Location (in world coordinates) of the 'reference' point (lower left corner) of the profile view
sim/graphics/view/local_profile_ref_z
float in meters
v9.0.0 - v9.22.0
Location (in world coordinates) of the 'reference' point (lower left corner) of the profile view
sim/graphics/view/local_profile_scale_t
float in pix/sec
v9.0.0 - v9.22.0
Scale (pixels per second) for drawing in the profile view horizontally when in time mode
sim/graphics/view/local_profile_scale_x
float in pix/mtr
v9.0.0 - v9.22.0
Scale (pixels per meter) for drawing in the profile view horizontally when in distance mode
sim/graphics/view/local_profile_scale_y
float in pix/mtr
v9.0.0 - v9.22.0
Scale (pixels per meter) for drawing in the profile view vertically
sim/graphics/view/modelview_matrix[16]
float in Matrix4x4
v11.0.0+
Current modelview matrix during window callbacks. use to map boxels to device pixels for scissors.
sim/graphics/view/number_elumens_projections
int in count
v7.0.0 - v8.99.0
How many separate patches are we doing for the Elumens screen
sim/graphics/view/panel_render_new_blending
int as a boolean
v11.0.0+
True if modern correct RGBA blending is being used to draw panels; false if the legacy alpha-max equation is being used.
sim/graphics/view/panel_render_type
int in enum
v9.0.0+
How to draw the panel? 0=2-d panel, 1=3-d, non-lit, 2=3-d, lit
sim/graphics/view/panel_total_pnl_b
float in pixels
v8.15.0+
Location of the bottom edge of the panel, in the coordinate system used during panel drawing.
sim/graphics/view/panel_total_pnl_l
float in pixels
v8.15.0+
Location of the left edge of the panel, in the coordinate system used during panel drawing.
sim/graphics/view/panel_total_pnl_r
float in pixels
v8.15.0+
Location of the right edge of the panel, in the coordinate system used during panel drawing.
sim/graphics/view/panel_total_pnl_t
float in pixels
v8.15.0+
Location of the top edge of the panel, in the coordinate system used during panel drawing.
sim/graphics/view/panel_total_win_b
float in pixels
v8.15.0+
Location of the bottom edge of the panel, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_total_win_l
float in pixels
v8.15.0+
Location of the left edge of the panel, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_total_win_r
float in pixels
v8.15.0+
Location of the right edge of the panel, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_total_win_t
float in pixels
v8.15.0+
Location of the top edge of the panel, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_visible_pnl_b
float in pixels
v8.15.0+
Location of the bottom edge of the screen, in the coordinate system used during panel drawing.
sim/graphics/view/panel_visible_pnl_l
float in pixels
v8.15.0+
Location of the left edge of the screen, in the coordinate system used during panel drawing.
sim/graphics/view/panel_visible_pnl_r
float in pixels
v8.15.0+
Location of the right edge of the screen, in the coordinate system used during panel drawing.
sim/graphics/view/panel_visible_pnl_t
float in pixels
v8.15.0+
Location of the top edge of the screen, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_visible_win_b
float in pixels
v8.15.0+
Location of the bottom edge of the screen, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_visible_win_l
float in pixels
v8.15.0+
Location of the left edge of the screen, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_visible_win_r
float in pixels
v8.15.0+
Location of the right edge of the screen, in the coordinate system used during plugin window drawing.
sim/graphics/view/panel_visible_win_t
float in pixels
v8.15.0+
Location of the top edge of the screen, in the coordinate system used during plugin window drawing.
sim/graphics/view/pilots_head_phi
float in degrees
v11.2.0+
Position of the pilot's head roll
sim/graphics/view/pilots_head_psi
float in degrees
v8.50.0+
Position of pilot's head heading
sim/graphics/view/pilots_head_the
float in degrees
v8.50.0+
Position of pilot's head pitch
sim/graphics/view/pilots_head_x
float in meters
v8.50.0+
Position of pilot's head relative to CG, X
sim/graphics/view/pilots_head_y
float in meters
v8.50.0+
Position of pilot's head relative to CG, Y
sim/graphics/view/pilots_head_z
float in meters
v8.50.0+
Position of pilot's head relative to CG, Z
sim/graphics/view/plane_render_type
int in enum
v10.30.0+
What kind of rendering is being done during the xplm_Phase_Airplanes callback. solid = 1, blended/alpha = 2 (0 = N/A, outside draw callback)
sim/graphics/view/projection_matrix[16]
float in Matrix4x4
v10.50.0+
The current projection matrix - valid only during draw callbacks
sim/graphics/view/projection_matrix_3d[16]
float in Matrix4x4
v10.50.0+
The current projection matrix during 3-d rendering - it keeps its value during 2-d rendering so youc can figure out how to apply text labels to 3-d stuff.
sim/graphics/view/using_modern_driver
int as a boolean
v11.50.0+
True if current rendering is being done by a modern Vulkan/Metal driver. False if we have the GL driver.
sim/graphics/view/vertical_field_of_view_deg
float in degrees
v10.30.0+
Vertical field of view in degrees, see sim/graphics/settings/non_proportional_vertical_FOV.
sim/graphics/view/view_elevation_agl
float in unspecified units
v8.0.0 - v8.40.0
The elevation of the camera
sim/graphics/view/view_elevation_agl_mtrs
float in meters
v12.0.0+
Camera's elevation above ground level
sim/graphics/view/view_elevation_m_msl
float in metersMSL
v6.60.0 - v8.40.0
The elevation of the camera
sim/graphics/view/view_elevation_msl_mtrs
float in meters
v12.0.0+
Camera's elevation above mean sea level
sim/graphics/view/view_heading
float in degrees
v6.60.0+
The camera's heading, CW frmo true north
sim/graphics/view/view_is_external
int as a boolean
v6.60.0+
Is the view in the cockpit or outside? Affects sound!
sim/graphics/view/view_pitch
float in degrees
v6.60.0+
The camera's pitch
sim/graphics/view/viewport[4]
int in Pixels
v11.0.0+
Current OpenGL viewport in device window coordinates. Note that this is left, bottom, right top, NOT left, bottom, width, height!!
sim/graphics/view/view_roll
float in degrees
v6.60.0+
The camera's roll
sim/graphics/view/view_type
int in enum
v6.60.0+
The current camera view
sim/graphics/view/view_x
float in OGLcoords
v6.60.0+
The location of the camera, X coordinate (OpenGL)
sim/graphics/view/view_y
float in OGLcoords
v6.60.0+
The location of the camera, Y coordinate (OpenGL)
sim/graphics/view/view_z
float in OGLcoords
v6.60.0+
The location of the camera, Z coordinate (OpenGL)
sim/graphics/view/view_zoom
float in unspecified units
v6.60.0 - v7.99.0
Camera Zoom - Use Camera control APIs!
sim/graphics/view/visibility_effective_m
float in meters
v6.60.0+
>= 0. The effective visibility after framerate-protecting visibility reductions.
sim/graphics/view/visibility_framerate_ratio
float in meters
v6.60.0+
[0.0 - 1.0] The ratio of the reported visibility to actually show for frame-rate protection. 1.0 means the user ses the reported visibility. Writable in v9, fixed in v10.
sim/graphics/view/visibility_math_level
int in enum
v6.60.0+
This used to indicate what level of 3-d force visualization was shown to the user in 3-d.
sim/graphics/view/visibility_scale
float in multipler
v6.60.0 - v8.99.0
This used to be the ratio used to scale up 3-d aero-force visualization
sim/graphics/view/visibility_terrain_m
float in meters
v6.60.0+
>= 0. The range of ground visibility. When above the clouds, only some of the ground terrain is actually drawn.
sim/graphics/view/world_matrix[16]
float in Matrix4x4
v10.50.0+
The current modelview matrix to draw in standard 'OGL' coordinates - valid only during draw callbacks