Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
Expansions.Serenity.RoboticControllerWindowAction Class Reference

An action row inside the Robotic Controller More...

Inheritance diagram for Expansions.Serenity.RoboticControllerWindowAction:
Expansions.Serenity.RoboticControllerWindowBaseRow

Public Member Functions

void HidePoints ()
 Hide the points in the curvepanel More...
 
override void InsertPoint (float timeValue)
 Insert a new point at the passed time 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, ControlledAction action)
 Set the initial values More...
 
void ShowPoints ()
 Show the points in the curvepanel 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
RoboticControllerWindowAction 
Spawn (RoboticControllerWindow window, ControlledAction action, Transform parent)
 

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

ControlledAction Action [get, set]
 Ref var to the Action 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...
 
- 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 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
 

Detailed Description

An action row inside the Robotic Controller

Member Function Documentation

void Expansions.Serenity.RoboticControllerWindowAction.HidePoints ( )
inline

Hide the points in the curvepanel

override void Expansions.Serenity.RoboticControllerWindowAction.InsertPoint ( float  timeValue)
inlinevirtual

Insert a new point at the passed time

Parameters
timeValuetime of the point in Sequence frome of reference

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.OnPointDragging ( List< CurvePanelPoint points)
inlineprotectedvirtual

Callback from panel so we can tell the window whats going on

Parameters
pPoint being dragged

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.OnPointSelectionChanged ( CurvePanel  panel,
List< CurvePanelPoint points 
)
inlineprotectedvirtual

Callback from panel so we can tell the window whats going on

Parameters
pSelected Point - or null if all deselected

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.OnRowCollapsed ( )
inlineprotectedvirtual

Collpase this axis row

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.OnRowDestroy ( )
inlineprotectedvirtual

Called by this class during Monobehaviour OnDestroy

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.OnRowExpanded ( )
inlineprotectedvirtual

Expand this axis row

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.OnRowStart ( )
inlineprotectedvirtual

Called by this class during Monobehaviour Start

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.ReverseCurve ( )
inlinevirtual

Reverse the direction of the curve

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.SelectAllPoints ( )
inlinevirtual

Select all points in the curve

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

override void Expansions.Serenity.RoboticControllerWindowAction.SelectPointAtTime ( float  timeValue)
inlinevirtual

Select a curvepoint at the passed time

Parameters
timeValuetime of the point in Sequence frome of reference

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

void Expansions.Serenity.RoboticControllerWindowAction.Setup ( RoboticControllerWindow  window,
ControlledAction  action 
)
inline

Set the initial values

void Expansions.Serenity.RoboticControllerWindowAction.ShowPoints ( )
inline

Show the points in the curvepanel

static RoboticControllerWindowAction Expansions.Serenity.RoboticControllerWindowAction.Spawn ( RoboticControllerWindow  window,
ControlledAction  action,
Transform  parent 
)
inlinestatic
override void Expansions.Serenity.RoboticControllerWindowAction.UpdateUILayout ( bool  recreateLine = false)
inlineprotectedvirtual

Called when the UI Layout is updated to handle specific child class code

Implements Expansions.Serenity.RoboticControllerWindowBaseRow.

Property Documentation

ControlledAction Expansions.Serenity.RoboticControllerWindowAction.Action
getset

Ref var to the Action this represents


The documentation for this class was generated from the following file: