Kerbal Space Program
1.12.4
|
An axis row inside the Robotic Controller More...
Public Member Functions | |
void | AlignCurveEnds () |
Align the curve endpoint value and tangent with the start one to help smooth looping behaviour More... | |
void | ClampAllPointValues () |
Clamp all points values More... | |
void | ClampPointValues () |
Clamp the selected points values More... | |
void | HidePoints () |
Hide the points in the curvepanel More... | |
override void | InsertPoint (float timeValue) |
Insert a new point at the passed time More... | |
void | InvertCurve () |
Invert the timeValue curve between the min and max axis More... | |
void | PresetFlat () |
Set the axis to be a flat line at the mid-point More... | |
void | PresetRevSaw (float cycles, float phase) |
Set the axis to be a reverse sawtooth wave More... | |
void | PresetSaw (float cycles, float phase) |
Set the axis to be a sawtooth wave More... | |
void | PresetSine (float cycles, float phase) |
Set the axis to be a sine wave More... | |
void | PresetSquare (float cycles, float phase) |
Set the axis to be a square wave More... | |
void | PresetTriangle (float cycles, float phase) |
Set the axis to be a triangle wave More... | |
override void | ReverseCurve () |
Reverse the direction of the curve More... | |
override void | SelectAllPoints () |
Select all points in the curve More... | |
override void | SelectPointAtTime (float timeValue) |
Select a curvepoint at the passed time More... | |
void | Setup (RoboticControllerWindow window, ControlledAxis axis) |
Set the initial values More... | |
void | ShowPoints () |
Show the points in the curvepanel More... | |
void | UpdatePreset (float cycles, float phase) |
Set the axis to be a reverse sawtooth wave More... | |
Public Member Functions inherited from Expansions.Serenity.RoboticControllerWindowBaseRow | |
bool | AnyTextFieldHasFocus () |
void | Collapse () |
Collpase this row More... | |
void | Expand () |
Expand this row More... | |
void | OnPointerEnter (PointerEventData eventData) |
IPointerExitHandler More... | |
void | OnPointerExit (PointerEventData eventData) |
IPointerEnterHandler More... | |
void | ToggleExpansion () |
Toggle this rows expansion/collapse More... | |
Static Public Member Functions | |
static RoboticControllerWindowAxis | Spawn (RoboticControllerWindow window, ControlledAxis axis, Transform parent) |
Public Attributes | |
RectTransform | axisLimits |
Small axis limits inset component More... | |
Public Attributes inherited from Expansions.Serenity.RoboticControllerWindowBaseRow | |
Button | editNickButton |
Button for entering edit mode More... | |
TMPro.TMP_InputField | partNickNameInput |
Input field for editing the name More... | |
TextMeshProUGUI | titleTextField |
Axis FIeld title for description More... | |
TextMeshProUGUI | titleTextPart |
Part Title for identification More... | |
Protected Member Functions | |
override void | OnPointDragging (List< CurvePanelPoint > points) |
Callback from panel so we can tell the window whats going on More... | |
override void | OnPointSelectionChanged (CurvePanel panel, List< CurvePanelPoint > points) |
Callback from panel so we can tell the window whats going on More... | |
override void | OnRowCollapsed () |
Collpase this axis row More... | |
override void | OnRowDestroy () |
Called by this class during Monobehaviour OnDestroy More... | |
override void | OnRowExpanded () |
Expand this axis row More... | |
override void | OnRowStart () |
Called by this class during Monobehaviour Start More... | |
override void | UpdateUILayout (bool recreateLine=false) |
Called when the UI Layout is updated to handle specific child class code More... | |
Protected Member Functions inherited from Expansions.Serenity.RoboticControllerWindowBaseRow | |
void | AssignBaseReferenceVars (RoboticControllerWindow window, ModuleRoboticController controller, ControlledBase controlledItem) |
Properties | |
ControlledAxis | Axis [get, set] |
Ref var to the Axis this represents More... | |
Properties inherited from Expansions.Serenity.RoboticControllerWindowBaseRow | |
ModuleRoboticController | Controller [get, set] |
Ref var to the controller More... | |
bool | Expanded [get] |
Is this axis expanded More... | |
bool | IsAction [get] |
Is this row for managing an action sequence More... | |
bool | IsAxis [get] |
Is this row for managing an axisfield curve More... | |
rowTypes | rowType [get, set] |
This rows type More... | |
RoboticControllerWindow | Window [get, set] |
Ref var to the Window More... | |
Additional Inherited Members | |
Public Types inherited from Expansions.Serenity.RoboticControllerWindowBaseRow | |
enum | rowTypes { rowTypes.Action, rowTypes.Axis, rowTypes.None } |
The types that a row in the controller window can be More... | |
Protected Attributes inherited from Expansions.Serenity.RoboticControllerWindowBaseRow | |
ControlledAction | controlledAction |
ControlledAxis | controlledAxis |
ControlledBase | controlledItem |
UIHoverText | editNickTextHover |
bool | expanded = false |
PointerClickHandler | headerClickHandler |
RectTransform | headerTransform |
float | heightCollapsed |
float | heightExpanded |
List< GameObject > | hideWhenCollapsed |
LayoutElement | layout |
Layout element for managing size More... | |
Button | removeRowButton |
UIHoverText | removeRowTextHover |
An axis row inside the Robotic Controller
|
inline |
Align the curve endpoint value and tangent with the start one to help smooth looping behaviour
|
inline |
Clamp all points values
|
inline |
Clamp the selected points values
|
inline |
Hide the points in the curvepanel
|
inlinevirtual |
Insert a new point at the passed time
timeValue | time of the point in Sequence from of reference |
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inline |
Invert the timeValue curve between the min and max axis
|
inlineprotectedvirtual |
Callback from panel so we can tell the window whats going on
p | Point being dragged |
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlineprotectedvirtual |
Callback from panel so we can tell the window whats going on
p | Selected Point - or null if all deselected |
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlineprotectedvirtual |
Collpase this axis row
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlineprotectedvirtual |
Called by this class during Monobehaviour OnDestroy
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlineprotectedvirtual |
Expand this axis row
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlineprotectedvirtual |
Called by this class during Monobehaviour Start
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inline |
Set the axis to be a flat line at the mid-point
|
inline |
Set the axis to be a reverse sawtooth wave
|
inline |
Set the axis to be a sawtooth wave
|
inline |
Set the axis to be a sine wave
|
inline |
Set the axis to be a square wave
|
inline |
Set the axis to be a triangle wave
|
inlinevirtual |
Reverse the direction of the curve
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlinevirtual |
Select all points in the curve
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inlinevirtual |
Select a curvepoint at the passed time
timeValue | time of the point in Sequence frome of reference |
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
|
inline |
Set the initial values
|
inline |
Show the points in the curvepanel
|
inlinestatic |
|
inline |
Set the axis to be a reverse sawtooth wave
|
inlineprotectedvirtual |
Called when the UI Layout is updated to handle specific child class code
Implements Expansions.Serenity.RoboticControllerWindowBaseRow.
RectTransform Expansions.Serenity.RoboticControllerWindowAxis.axisLimits |
Small axis limits inset component
|
getset |
Ref var to the Axis this represents