Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | ChangeSelectedPart (uint partID) |
Set the inital selected part More... | |
override void | Clean () |
Clean this GAP Display More... | |
override void | Destroy () |
Destroy this GAP Display More... | |
override void | Setup (Camera displayCamera, int layerMask) |
Setup the Action Pane display More... | |
void | SetupVessel (MissionCraft craft, VesselSituation situation, MEGUIParameterVessel parameter) |
Setup the vessel used in this display More... | |
Public Member Functions inherited from Expansions.Missions.Editor.ActionPaneDisplay | |
Button | AddToolbarButton (string id, string icon, string toolTip) |
Creates a gap toolbar button control More... | |
Toggle | AddToolbarToggle (string id, string icon, string toolTip, bool startState=false) |
Creates a gap toolbar toggle control More... | |
void | ClearToolbar () |
Clean the GAP tool bar controls More... | |
bool | GetMousePointOnCamera (Vector2 mousePosition, Camera canvasCamera, ref Vector2 point) |
Gets the mouse position relative to the GAP display camera, used for ray cast objects displayed in the render texture More... | |
Button | GetToolbarButton (string id) |
Get a tool bar button More... | |
virtual void | OnBeginDrag (PointerEventData eventData) |
Event triggered on drag begin More... | |
override void | OnDeselect (BaseEventData eventData) |
Event triggered on UI selectable deselect More... | |
virtual void | OnDisplayClickUp (RaycastHit?hit) |
virtual void | OnDisplayDragEnd (RaycastHit?hit) |
virtual void | OnDrag (PointerEventData eventData) |
Event triggered on pointer drag More... | |
virtual void | OnEndDrag (PointerEventData eventData) |
Event triggered on drag end More... | |
virtual void | OnPointerClick (PointerEventData eventData) |
Event triggered on pointer click this gameobject rect More... | |
override void | OnPointerEnter (PointerEventData eventData) |
Event triggered on pointer enter this gameobject rect More... | |
override void | OnPointerExit (PointerEventData eventData) |
Event triggered on pointer exit this gameobject rect More... | |
override void | OnPointerUp (PointerEventData eventData) |
override void | OnSelect (BaseEventData eventData) |
Event triggered on UI selecteable select More... | |
bool | Raycast (Vector3 cameraPoint, out RaycastHit hit, int layerMask=-1) |
Help function, makes a ray cast from the supplied camera point using the gap display camera, layer mask and hit distance values More... | |
void | UpdateDisplayArea () |
Updates the render texture display area maintaining the game aspect ratio More... | |
Protected Member Functions | |
void | ChangeHoverPart (Part part) |
void | ChangeSelectedPart (Part part) |
void | DestroyCurrentVessel () |
void | HideFairings (ShipConstruct vessel) |
Disable the fairings covers and color changer More... | |
void | HideVessel (ShipConstruct ship) |
void | LoadVessel (MissionCraft vessel, VesselSituation situation) |
override void | OnDisplayClick (RaycastHit?hit) |
override void | OnMouseOver (Vector2 position) |
void | OnNextVessel () |
void | OnPartCategoryChanged (PartCategories category, bool state) |
void | OnPrevVessel () |
void | ShowFairings (ShipConstruct vessel) |
void | ShowVessel (ShipConstruct ship) |
void | UpdateFrameFooter () |
Protected Member Functions inherited from Expansions.Missions.Editor.ActionPaneDisplay | |
override void | Awake () |
void | ClearToolbarEvents () |
Clear the tool bar controls events More... | |
virtual void | OnDisplayDrag (PointerEventData.InputButton button, Vector2 delta) |
virtual void | Update () |
Protected Attributes | |
MissionCraft | currentCraft |
Part | currentHoveredPart |
Part | currentSelectedPart |
ShipConstruct | currentVessel |
bool | isReady = false |
MEGUIParameterVessel | parameter |
GAPVesselCamera | vesselCamera |
GameObject | vesselCameraSetup |
GAPUtil_VesselFrame | vesselFrame |
Protected Attributes inherited from Expansions.Missions.Editor.ActionPaneDisplay | |
Camera | displayCamera |
RenderTexture | displayTexture |
float | hitDistance |
bool | isDragging = false |
bool | isMouseOver = false |
bool | isSelected = false |
int | layerMask |
DictionaryValueList< string, MonoBehaviour > | toolbarControls |
Additional Inherited Members | |
Public Attributes inherited from Expansions.Missions.Editor.ActionPaneDisplay | |
RaycastEvent | DisplayClick |
Event that triggers on the display click, sends a hitinfo if an object was clicked on More... | |
RaycastEvent | DisplayClickUp |
Event that triggers on the display click when the button is up, sends a hitinfo if an object was clicked on More... | |
DragEvent | DisplayDrag |
Event that triggers a mouse drag, sends the button and mouse delta information More... | |
RaycastEvent | DisplayDragEnd |
Event that triggers on the display click when the button is up, sends a hitinfo if an object was clicked on More... | |
RawImage | displayImage |
Raw image that displays the render texture More... | |
MouseOverEvent | MouseOver |
Event that trigger when the mouse is over the GAP display image More... | |
RectTransform | rectTransform |
Rect transform cache More... | |
Properties inherited from Expansions.Missions.Editor.ActionPaneDisplay | |
RenderTexture | DisplayTexture [get] |
|
inlineprotected |
|
inline |
Set the inital selected part
partID |
|
inlineprotected |
|
inlinevirtual |
Clean this GAP Display
Reimplemented from Expansions.Missions.Editor.ActionPaneDisplay.
|
inlinevirtual |
Destroy this GAP Display
Reimplemented from Expansions.Missions.Editor.ActionPaneDisplay.
|
inlineprotected |
|
inlineprotected |
Disable the fairings covers and color changer
vessel |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented from Expansions.Missions.Editor.ActionPaneDisplay.
|
inlineprotectedvirtual |
Reimplemented from Expansions.Missions.Editor.ActionPaneDisplay.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Setup the Action Pane display
displayCamera | Camera used to display the Action Pane contents |
mask | Layer mask used for the click raycast |
Reimplemented from Expansions.Missions.Editor.ActionPaneDisplay.
|
inline |
Setup the vessel used in this display
craft | Craft config node |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |