Scanner#
- class Scanner#
A SCANsat scanner on a part. Obtained by calling
ScanSat.ScannerorScanSat.Scanners.Base class:SpaceCenter.ModuleInherited Members
From
SpaceCenter.Module:Name,Part,Config,FieldList,EventList,ActionList
- bool Active { get; set; }#
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
ScanSat.InstantResourceScanis off, orScanSat.StockResourceScanis off.
- float FieldOfView { get; }#
The field of view of the scanner at its best altitude, in degrees.
- Game Scenes:
All
- float BestAltitude { get; }#
The lowest altitude for the full field of view, in meters.
- Game Scenes:
All
- bool RequiresLight { get; }#
Whether the scanner only scans in daylight, when
ScanSat.DaylightCheckis on.- Game Scenes:
All
- ScannerState State { get; }#
The state of the scanner.
- Game Scenes:
Flight
- enum ScannerState#
The state of a scanner. See
Scanner.State.- Off#
Switched off.
- OutOfRange#
Switched on, and outside its minimum and maximum altitudes.
- InDarkness#
Switched on, and paused as it needs light and the ground below it is in darkness.
- InRange#
Scanning between its minimum and best altitudes, with a reduced field of view.
- InBestRange#
Scanning between its best and maximum altitudes, with its full field of view.