Property | Type | Description | |
---|---|---|---|
detectedDefList | List |
||
detectionChance | float | ||
maxScanRange | int | ||
powerComp | CompPowerTrader | ||
satelliteDish | |||
satelliteDishMatrix | |||
satelliteDishRotation | float | ||
satelliteDishScale | Vector3 | ||
scanProgress | int | ||
scanRange | int | ||
scanRange10 | |||
scanRange20 | |||
scanRange30 | |||
scanRange40 | |||
scanRange50 | |||
scanRangeDynamic | |||
scanRangeDynamicMatrix | |||
scanRangeDynamicScale | Vector3 | ||
scanRangeMatrix10 | |||
scanRangeMatrix20 | |||
scanRangeMatrix30 | |||
scanRangeMatrix40 | |||
scanRangeMatrix50 | |||
scanRangeScale10 | Vector3 | ||
scanRangeScale20 | Vector3 | ||
scanRangeScale30 | Vector3 | ||
scanRangeScale40 | Vector3 | ||
scanRangeScale50 | Vector3 | ||
scanRayDynamic | |||
scanRayDynamicMatrix | |||
scanRayDynamicScale | Vector3 | ||
scanSpot | |||
scanSpotMatrix | |||
scanSpotScale | Vector3 |
Method | Description | |
---|---|---|
Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void |
Destroy the mobile mineral sonar and reset its state when deconstructed.
|
|
Draw ( ) : void | ||
DrawDynamicScanRangeAndScanRay ( ) : void |
Draw the dynamic scan range and scan ray.
|
|
DrawMaxScanRange ( ) : void |
Draw the max scan range.
|
|
DrawSatelliteDish ( ) : void |
Draw the satellite dish.
|
|
DrawScanSpotOnThingsWithinScanRange ( ThingDef thingDefParameter ) : void |
Draw the scan spots on things of def thingDefParameter within scan range.
|
|
ExposeData ( ) : void |
Save and load mobile mineral sonar internal state variables (stored in savegame data).
|
|
GetInspectString ( ) : string |
Build the string giving some basic information that is shown when the mobile mineral sonar is selected.
|
|
PerformScanUpdate ( ) : void |
Perform the scan update and update the satellite dish rotation.
|
|
SpawnSetup ( ) : void |
Initialize instance variables.
|
|
Tick ( ) : void |
Main function: - update the scan range, - draw the satellite dish, - draw the scan range only when the mobile mineral sonar is selected.
|
|
TryUpdateScanParameters ( ) : void | ||
UnfogSomeRandomThingAtScanRange ( ThingDef thingDefParameter ) : void |
Unfog some of the things of type thingDefParameter at scanRange.
|
public Destroy ( DestroyMode mode = DestroyMode.Vanish ) : void | ||
mode | DestroyMode | |
return | void |
public DrawDynamicScanRangeAndScanRay ( ) : void | ||
return | void |
public DrawScanSpotOnThingsWithinScanRange ( ThingDef thingDefParameter ) : void | ||
thingDefParameter | ThingDef | |
return | void |
public static TryUpdateScanParameters ( ) : void | ||
return | void |
public UnfogSomeRandomThingAtScanRange ( ThingDef thingDefParameter ) : void | ||
thingDefParameter | ThingDef | |
return | void |
public static Material,UnityEngine satelliteDish | ||
return |
public Matrix4x4,UnityEngine satelliteDishMatrix | ||
return |
public static Material,UnityEngine scanRange10 | ||
return |
public static Material,UnityEngine scanRange20 | ||
return |
public static Material,UnityEngine scanRange30 | ||
return |
public static Material,UnityEngine scanRange40 | ||
return |
public static Material,UnityEngine scanRange50 | ||
return |
public Material,UnityEngine scanRangeDynamic | ||
return |
public Matrix4x4,UnityEngine scanRangeDynamicMatrix | ||
return |
public Matrix4x4,UnityEngine scanRangeMatrix10 | ||
return |
public Matrix4x4,UnityEngine scanRangeMatrix20 | ||
return |
public Matrix4x4,UnityEngine scanRangeMatrix30 | ||
return |
public Matrix4x4,UnityEngine scanRangeMatrix40 | ||
return |
public Matrix4x4,UnityEngine scanRangeMatrix50 | ||
return |
public static Material,UnityEngine scanRayDynamic | ||
return |
public Matrix4x4,UnityEngine scanRayDynamicMatrix | ||
return |
public static Material,UnityEngine scanSpot | ||
return |
public Matrix4x4,UnityEngine scanSpotMatrix | ||
return |