Scanner#
-
type krpc_ScanSat_Scanner_t#
A SCANsat scanner on a part. Obtained by calling
krpc_ScanSat_Scanner()orkrpc_ScanSat_Scanners().-
KRPC_CLASS_SCANSAT_SCANNER#
The service and class ids of the class, for
krpc_KRPC_Type_ClassTypeById().
-
krpc_error_t krpc_ScanSat_Scanner_Part(krpc_connection_t connection, krpc_SpaceCenter_Part_t *returnValue, krpc_ScanSat_Scanner_t instance)#
The part containing this scanner.
- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_ScanTypes(krpc_connection_t connection, krpc_ScanSat_ScanType_t *returnValue, krpc_ScanSat_Scanner_t instance)#
The scan types of the scanner.
- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_Active(krpc_connection_t connection, bool *returnValue, krpc_ScanSat_Scanner_t instance)#
-
krpc_error_t krpc_ScanSat_Scanner_set_Active(krpc_connection_t connection, krpc_ScanSat_Scanner_t instance, bool value)#
Returns whether the scanner is switched on, and switches it on or off, as the buttons of the part do.
- Game Scenes:
Flight
Note
A resource scanner only switches on when
krpc_ScanSat_InstantResourceScan()is off, orkrpc_ScanSat_StockResourceScan()is off.
-
krpc_error_t krpc_ScanSat_Scanner_FieldOfView(krpc_connection_t connection, float *returnValue, krpc_ScanSat_Scanner_t instance)#
The field of view of the scanner at its best altitude, in degrees.
- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_MinAltitude(krpc_connection_t connection, float *returnValue, krpc_ScanSat_Scanner_t instance)#
The lowest altitude the scanner scans at, in meters.
- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_BestAltitude(krpc_connection_t connection, float *returnValue, krpc_ScanSat_Scanner_t instance)#
The lowest altitude for the full field of view, in meters.
- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_MaxAltitude(krpc_connection_t connection, float *returnValue, krpc_ScanSat_Scanner_t instance)#
The highest altitude the scanner scans at, in meters.
- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_RequiresLight(krpc_connection_t connection, bool *returnValue, krpc_ScanSat_Scanner_t instance)#
Whether the scanner only scans in daylight, when
krpc_ScanSat_DaylightCheck()is on.- Game Scenes:
Flight
-
krpc_error_t krpc_ScanSat_Scanner_State(krpc_connection_t connection, krpc_ScanSat_ScannerState_t *returnValue, krpc_ScanSat_Scanner_t instance)#
The state of the scanner.
- Game Scenes:
Flight
-
KRPC_CLASS_SCANSAT_SCANNER#
-
type krpc_ScanSat_ScannerState_t#
The state of a scanner. See
krpc_ScanSat_Scanner_State().-
KRPC_ENUMERATION_SCANSAT_SCANNERSTATE#
The service and enumeration ids of the enumeration, for
krpc_KRPC_Type_EnumerationTypeById()andkrpc_KRPC_Expression_ConstantEnumById().
-
KRPC_SCANSAT_SCANNERSTATE_OFF#
Switched off.
-
KRPC_SCANSAT_SCANNERSTATE_OUTOFRANGE#
Switched on, and outside its minimum and maximum altitudes.
-
KRPC_SCANSAT_SCANNERSTATE_INDARKNESS#
Switched on, and paused as it needs light and the ground below it is in darkness.
-
KRPC_SCANSAT_SCANNERSTATE_INRANGE#
Scanning between its minimum and best altitudes, with a reduced field of view.
-
KRPC_SCANSAT_SCANNERSTATE_INBESTRANGE#
Scanning between its best and maximum altitudes, with its full field of view.
-
KRPC_ENUMERATION_SCANSAT_SCANNERSTATE#