Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
List of all members
KSP.UI.Screens.RDGridArea Class Reference
Inheritance diagram for KSP.UI.Screens.RDGridArea:
KSP.UI.Screens.UIGridArea

Additional Inherited Members

- Public Member Functions inherited from KSP.UI.Screens.UIGridArea
void OnScroll (PointerEventData eventData)
 
void SnapToNode (RDNode node, Vector2 offset)
 
- Public Attributes inherited from KSP.UI.Screens.UIGridArea
RectTransform gridBackground
 
float gridHeight = 2303
 
float gridWidth = 3071
 
float height
 
int lineCornerSegments = 3
 
Material LineMaterial
 
Material LineMaterialGray
 
float lineThickness = 2f
 
float roundedCornerRadius = 15f
 
ScrollRect scrollRect
 
float width
 
Button zoom_down
 
TMPro.TextMeshProUGUI zoom_level
 
Button zoom_up
 
float zoomMax = 1f
 
float zoomMin = 0.6f
 
float zoomSpeed = 0.1f
 
- Protected Member Functions inherited from KSP.UI.Screens.UIGridArea
virtual void Awake ()
 
virtual void CalculateSnapBounds ()
 
virtual Vector2 CenterOfGrid ()
 
void InputZoomDown ()
 
void InputZoomUp ()
 
virtual Vector2 MousePointOnGrid ()
 Distance between the mouse pointer and the origin (bottom right) corner of the grid. The pixel distance on the texture if you will. The coordinate space is positive going left and up. More...
 
void SetZoomButtonState ()
 
void SetZoomLevelText (float level)
 
virtual void Snap ()
 
virtual void Start ()
 
virtual void Zoom (float amount)
 
virtual void ZoomTo (float level, bool center)
 
- Protected Attributes inherited from KSP.UI.Screens.UIGridArea
Rect snapBounds
 

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