![]() |
Kerbal Space Program
1.12.4
|
A container that is used to render a CB in the Maneuver Tool visualizer window. More...
Public Member Functions | |
| void | Hide () |
| Hide the Planet. More... | |
| void | Setup (GameObject parent, string bodyName, string displayName, GameObject planet, float scale, float container_height, float xOffset) |
| Setup the CB container object More... | |
| void | Show (Vector2 position, float scale) |
| Show the Planet. Will set the localPosition and localScale as well. More... | |
Public Attributes | |
| UIRadioButton | background |
| The background button More... | |
| string | displayName |
| The display name More... | |
| PointerEnterExitHandler | hoverController |
| The mouse hover controller More... | |
| LayoutElement | layoutElement |
| The layout element More... | |
| new string | name |
| The name More... | |
| GameObject | planet |
| The 3D planet object More... | |
| RawImage | planetRawImage |
| The raw image the planet is drawn to More... | |
| bool | selected |
| IF the CB is selected/hovered over or not. More... | |
| Camera | thumbnailCamera |
| LayerMask | thumbnailCameraMask |
| RenderTexture | thumbnailRenderTexture |
| int | thumbnailSize = 128 |
A container that is used to render a CB in the Maneuver Tool visualizer window.
|
inline |
Hide the Planet.
|
inline |
Setup the CB container object
| parent | parent object |
| bodyName | Name of the body |
| displayName | Localized name of the body |
| planet | The planet object |
| scale | The scale to use |
| container_height | The height of the container |
| xOffset | The offset from X |
|
inline |
Show the Planet. Will set the localPosition and localScale as well.
| position | The localPosition to set. |
| scale | The localScale to set. |
| UIRadioButton ManeuverToolCBContainer.background |
The background button
| string ManeuverToolCBContainer.displayName |
The display name
| PointerEnterExitHandler ManeuverToolCBContainer.hoverController |
The mouse hover controller
| LayoutElement ManeuverToolCBContainer.layoutElement |
The layout element
| new string ManeuverToolCBContainer.name |
The name
| GameObject ManeuverToolCBContainer.planet |
The 3D planet object
| RawImage ManeuverToolCBContainer.planetRawImage |
The raw image the planet is drawn to
| bool ManeuverToolCBContainer.selected |
IF the CB is selected/hovered over or not.
| Camera ManeuverToolCBContainer.thumbnailCamera |
| LayerMask ManeuverToolCBContainer.thumbnailCameraMask |
| RenderTexture ManeuverToolCBContainer.thumbnailRenderTexture |
| int ManeuverToolCBContainer.thumbnailSize = 128 |
1.8.7