Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo Class Reference

Public Member Functions

ScreenDeltaVEngineInfo Create (GameObject engineItemPrefab, RectTransform contentParent, GameObject propellantItemPrefab, DeltaVEngineInfo engineInfo, List< DeltaVPropellantInfo > stagePropInfo, CalcType type, int stage)
 Create a ScreenDeltaVEngineInfo UI element and associated ScreenDeltaVPropellantInfo UI elements. More...
 
void Destroy ()
 Destroy all the Related UI GameObjects. More...
 
void SetActive (bool active)
 Set the related UI GameObjects = active bool value. More...
 
bool Update (DeltaVEngineInfo engineInfo, List< DeltaVPropellantInfo > stagePropInfo, CalcType type, string calctypeDesc, int stage)
 Update the Engine and Propellants UI objects. More...
 
 VesselDebugDeltaVEngineInfo ()
 

Public Attributes

DeltaVEngineInfo engineInfo
 The associated DeltaV Engine Info. More...
 

Constructor & Destructor Documentation

KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo.VesselDebugDeltaVEngineInfo ( )
inline

Member Function Documentation

ScreenDeltaVEngineInfo KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo.Create ( GameObject  engineItemPrefab,
RectTransform  contentParent,
GameObject  propellantItemPrefab,
DeltaVEngineInfo  engineInfo,
List< DeltaVPropellantInfo stagePropInfo,
CalcType  type,
int  stage 
)
inline

Create a ScreenDeltaVEngineInfo UI element and associated ScreenDeltaVPropellantInfo UI elements.

Parameters
engineItemPrefabThe prefab for the ScreenDeltaVEngineInfo
contentParentThe parent transform
propellantItemPrefabThe prefab for the ScreenDeltaVPropellantInfo
engineInfoThe associated DeltaVEngineInfo
stagePropInfoA list of associated DeltaVPropellantInfo to display
typeThe Calculation Type.
stageThe Stage number
Returns
void KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo.Destroy ( )
inline

Destroy all the Related UI GameObjects.

void KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo.SetActive ( bool  active)
inline

Set the related UI GameObjects = active bool value.

Parameters
active
bool KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo.Update ( DeltaVEngineInfo  engineInfo,
List< DeltaVPropellantInfo stagePropInfo,
CalcType  type,
string  calctypeDesc,
int  stage 
)
inline

Update the Engine and Propellants UI objects.

Parameters
engineInfoThe DeltaVEngineInfo entry
stagePropInfoA List of the DeltaVPropellantInfo to associate. Usually the ones for a specific stage.
typeThe Calculation Type.
calctypeDescThe Calculation type description
stageThe Stage number
Returns

Member Data Documentation

DeltaVEngineInfo KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVEngineInfo.engineInfo

The associated DeltaV Engine Info.


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