Class that manages a KSPAction that is being driven by ModuleRobiticController
More...
|
List< float > | times |
| The times the action will be triggered More...
|
|
Class that manages a KSPAction that is being driven by ModuleRobiticController
Expansions.Serenity.ControlledAction.ControlledAction |
( |
ControlledAction |
sourceAction | ) |
|
|
inline |
Expansions.Serenity.ControlledAction.ControlledAction |
( |
| ) |
|
|
inline |
override void Expansions.Serenity.ControlledAction.AddSymmetryPart |
( |
Part |
part | ) |
|
|
inlineprotectedvirtual |
override void Expansions.Serenity.ControlledAction.ClearSymmetryLists |
( |
| ) |
|
|
inlineprotectedvirtual |
override bool Expansions.Serenity.ControlledAction.OnAssignReferenceVars |
( |
| ) |
|
|
inlineprotectedvirtual |
override bool Expansions.Serenity.ControlledAction.OnChangeSymmetryMaster |
( |
Part |
newPart, |
|
|
out uint |
oldPartId |
|
) |
| |
|
inlineprotectedvirtual |
Change the part that is listed as the one this action is connected to to be another of its symmetry partners
Call this BEFORE the master part is deleted to maintain the symmetry groups
- Parameters
-
newPart | Part that will take over the role as symmetry master |
Implements Expansions.Serenity.ControlledBase.
override void Expansions.Serenity.ControlledAction.OnLoad |
( |
ConfigNode |
node | ) |
|
|
inlineprotectedvirtual |
override void Expansions.Serenity.ControlledAction.OnSave |
( |
ConfigNode |
node | ) |
|
|
inlineprotectedvirtual |
void Expansions.Serenity.ControlledAction.RescaleTimes |
( |
float |
adjustmentRatio, |
|
|
float |
minSpace = 0.01f |
|
) |
| |
|
inline |
Scale the time of the points in a curve without changing the length
- Parameters
-
adjustmentRatio | How to calculate the new position of each time value |
minSpace | The min distance between points when the adjustmentRatio is spreading the points apart and we hit the end of the length |
void Expansions.Serenity.ControlledAction.ReverseTimes |
( |
| ) |
|
|
inline |
Reverse the timeValue curve direction
List<float> Expansions.Serenity.ControlledAction.times |
The times the action will be triggered
BaseAction Expansions.Serenity.ControlledAction.Action |
|
getset |
Reference to Field for this action
The documentation for this class was generated from the following file: