Set the camera as the scene’s default camera
 
 
 

Since a scene can have many cameras, FBX SDK allows you to switch from camera to camera. The default camera is the camera that will be used when the scene’s animation begins.

Even though CubeCreator’s scene has only one camera, we must explicitly set it as the default camera:

myScene->GetGlobalSettings().SetDefaultCamera((char *) lCamera->GetName());