XPLMControlCamera

From X-Plane SDK
Jump to: navigation, search

XPLMControlCamera

XPLM_API void                 XPLMControlCamera(
                                   XPLMCameraControlDuration inHowLong,    
                                   XPLMCameraControl_f  inControlFunc,    
                                   void *               inRefcon);    
This function repositions the camera on the next drawing cycle. You must pass a non-null control function. Specify in inHowLong how long you'd like control (indefinitely or until a key is pressed).