Kerbal Space Program
1.12.4
|
Public Member Functions | |
override void | Load (ConfigNode node) |
override void | OnEffectStart () |
Called to set up effects just as animation starts. More... | |
override void | OnEffectStop () |
Called to stop effects just as animation ends or if there's an problem and the arm has to retract in the middle of the animation. More... | |
override void | OnStart (Part part) |
Called to Initialize things when the RobotArm is started. More... | |
override void | OnUpdate (float animationTime, float distanceFromSurface, Vector3 instrumentTargetPosition) |
Called to update effects as the animation plays. More... | |
RobotArmFXSpectrometer () | |
Constructor. More... | |
override void | Save (ConfigNode node) |
Public Member Functions inherited from Expansions.Serenity.RobotArmFX.RobotArmScannerFX | |
RobotArmScannerFX () | |
Constructor. More... | |
Public Attributes | |
string | lightTransformName = "LightTransform" |
Name of the transform on which to find the spectrometer light. More... | |
Light | spectrometerLight |
Spectrometer light. More... | |
Transform | spectrometerTransform |
Transform on which to find the spectrometer light. More... | |
Public Attributes inherited from Expansions.Serenity.RobotArmFX.RobotArmScannerFX | |
string | className = string.Empty |
Class name of the effect to be instantiated. More... | |
float | effectStartTime = 0 |
Start time of the effect in the animation timescale. More... | |
float | effectStopTime = 1 |
Stop time of the effect in the animation timescale. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Expansions.Serenity.RobotArmFX.RobotArmScannerFX | |
static RobotArmScannerFX | CreateInstanceOfRobotArmScannerFX (string className) |
Creates a new part module adjuster. More... | |
Properties inherited from Expansions.Serenity.RobotArmFX.RobotArmScannerFX | |
bool | IsReady [get, set] |
Is the effect ready to go. More... | |
Part | Part [get, set] |
|
inline |
Constructor.
|
inlinevirtual |
Reimplemented from Expansions.Serenity.RobotArmFX.RobotArmScannerFX.
|
inlinevirtual |
Called to set up effects just as animation starts.
Implements Expansions.Serenity.RobotArmFX.RobotArmScannerFX.
|
inlinevirtual |
Called to stop effects just as animation ends or if there's an problem and the arm has to retract in the middle of the animation.
Implements Expansions.Serenity.RobotArmFX.RobotArmScannerFX.
|
inlinevirtual |
Called to Initialize things when the RobotArm is started.
part | Part that this effect will be played on. |
Reimplemented from Expansions.Serenity.RobotArmFX.RobotArmScannerFX.
|
inlinevirtual |
Called to update effects as the animation plays.
animationTime | Time that has passed for the scan animation. |
distanceFromSurface | Distance that the scanner head will stop at from the surface. |
instrumentTargetPosition | Target position that the instrument should be pointing at. |
Implements Expansions.Serenity.RobotArmFX.RobotArmScannerFX.
|
inlinevirtual |
Reimplemented from Expansions.Serenity.RobotArmFX.RobotArmScannerFX.
string Expansions.Serenity.RobotArmFX.RobotArmFXSpectrometer.lightTransformName = "LightTransform" |
Name of the transform on which to find the spectrometer light.
Light Expansions.Serenity.RobotArmFX.RobotArmFXSpectrometer.spectrometerLight |
Spectrometer light.
Transform Expansions.Serenity.RobotArmFX.RobotArmFXSpectrometer.spectrometerTransform |
Transform on which to find the spectrometer light.