XPLMSetDatavf

Function XPLMSetDatavf 

Source
pub unsafe extern "C" fn XPLMSetDatavf(
    inDataRef: XPLMDataRef,
    inValues: *mut f32,
    inoffset: c_int,
    inCount: c_int,
)
Expand description

XPLMSetDatavf

Write part or all of a single precision floating point array dataref. The values passed by inValues are written into the dataref starting at inOffset. Up to inCount values are written; however if the values would write past the end of the dataref array, then fewer values are written.

Note: the semantics of array datarefs are entirely implemented by the plugin (or X-Plane) that provides the dataref, not the SDK itself; the above description is how these datarefs are intended to work, but a rogue plugin may have different behavior.