internal static extern ErrorCode gp_camera_set_abilities(HandleRef camera, CameraAbilities abilities);
public void SelectCamera(int index) { selected_camera__camera_list_index = index; camera_abilities = abilities_list [camera_list.GetName (selected_camera__camera_list_index)]; port_info = port_info_list.LookupPath (camera_list.GetValue (selected_camera__camera_list_index)); Log.Debug ("PortInfo {0}, {1}", port_info.Name, port_info.Path); camera = new Camera () { Abilities = camera_abilities, PortInfo = port_info }; }
internal static unsafe extern ErrorCode gp_camera_get_abilities(HandleRef camera, out CameraAbilities abilities);