|
static Transform | GetNodeCanvasContainer () |
| Get the nodeCanvasContainer object More...
|
|
static Transform | ResetNodeCanvasContainer () |
| Reset the nodeCanvasContainer and return it. Used to reset scale and reparent the child mapnodes More...
|
|
static void | ResetNodeCanvasContainerScale (float uiScale) |
| Resets the node canvas scale according to a reference's scale, so when the Main UI scales, this will compensate the node canvas scale to stay (relatively) the same More...
|
|
static Vector3 | ScaledToUISpacePos (Vector3d scaledSpacePos, ref bool zPositive, float zFlattenEasing, float zFlattenMidPoint, float zUIstart, float zUIlength) |
|
static Vector3 | ScaledToUISpacePos (Vector3d scaledSpacePos, RectTransform uiSpace, Camera uiCamera, ref bool zPositive, float zFlattenEasing, float zFlattenMidPoint, float zUIstart, float zUIlength) |
|
static Transform KSP.UI.Screens.Mapview.MapViewCanvasUtil.GetNodeCanvasContainer |
( |
| ) |
|
|
inlinestatic |
Get the nodeCanvasContainer object
Setup any missing bits and set teh parenting properly as well
- Returns
- The setup nodeCanvasContainer
static Transform KSP.UI.Screens.Mapview.MapViewCanvasUtil.ResetNodeCanvasContainer |
( |
| ) |
|
|
inlinestatic |
Reset the nodeCanvasContainer and return it. Used to reset scale and reparent the child mapnodes
- Returns
- The setup nodeCanvasContainer
static void KSP.UI.Screens.Mapview.MapViewCanvasUtil.ResetNodeCanvasContainerScale |
( |
float |
uiScale | ) |
|
|
inlinestatic |
Resets the node canvas scale according to a reference's scale, so when the Main UI scales, this will compensate the node canvas scale to stay (relatively) the same
- Parameters
-
uiScale | the reference scale |
static Vector3 KSP.UI.Screens.Mapview.MapViewCanvasUtil.ScaledToUISpacePos |
( |
Vector3d |
scaledSpacePos, |
|
|
ref bool |
zPositive, |
|
|
float |
zFlattenEasing, |
|
|
float |
zFlattenMidPoint, |
|
|
float |
zUIstart, |
|
|
float |
zUIlength |
|
) |
| |
|
inlinestatic |
static Vector3 KSP.UI.Screens.Mapview.MapViewCanvasUtil.ScaledToUISpacePos |
( |
Vector3d |
scaledSpacePos, |
|
|
RectTransform |
uiSpace, |
|
|
Camera |
uiCamera, |
|
|
ref bool |
zPositive, |
|
|
float |
zFlattenEasing, |
|
|
float |
zFlattenMidPoint, |
|
|
float |
zUIstart, |
|
|
float |
zUIlength |
|
) |
| |
|
inlinestatic |
Camera KSP.UI.Screens.Mapview.MapViewCanvasUtil.CanvasCamera |
|
staticget |
Canvas KSP.UI.Screens.Mapview.MapViewCanvasUtil.MapViewCanvas |
|
staticget |
RectTransform KSP.UI.Screens.Mapview.MapViewCanvasUtil.MapViewCanvasRect |
|
staticget |
Transform KSP.UI.Screens.Mapview.MapViewCanvasUtil.NodeContainer |
|
staticget |
The documentation for this class was generated from the following file: