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

Public Member Functions

void BlinkBorder (float interval)
 
void ClearInfoBoxes ()
 
StageIcon CreateIcon (bool alertStagingSequencer=true)
 
void DisableIcon ()
 
ProtoStageIconInfo DisplayInfo ()
 
void Freeze ()
 
void Highlight (bool highlightState)
 
 ProtoStageIcon (Part part)
 
void RemoveIcon (bool alertStagingSequencer=true)
 
void RemoveInfo (ProtoStageIconInfo iBox)
 
void SetBackgroundColor (Color c)
 
void SetBorderColor (Color c)
 
void SetIcon (DefaultIcons icon)
 
void SetIcon (string file, int x, int y)
 
void SetIconColor (Color c)
 
void Unfreeze ()
 

Public Attributes

Vector3 homePos
 
Callback onStageIconDestroy = delegate { }
 Called when the graphical component StageIcon is destroyed. This callback is provided in the event you are using quick lookups to ProtoStageIconInfo etc. which also will have their graphical components destroyed. More...
 

Protected Attributes

Color backgroundColor = Color.white
 
bool blinkBorder = false
 
float blinkInterval = 1.0f
 
Color borderColor = Color.white
 
string customIconFilename = ""
 
int customIconX = 0
 
int customIconY = 0
 
bool frozen = false
 
bool highlighted = false
 
Color iconColor = Color.white
 
DefaultIcons iconType = DefaultIcons.MYSTERY_PART
 
Part part
 
StageIcon stageIcon
 

Properties

bool Highlighted [get]
 
Part Part [get]
 
StageIcon StageIcon [get]
 

Constructor & Destructor Documentation

KSP.UI.Screens.ProtoStageIcon.ProtoStageIcon ( Part  part)
inline

Member Function Documentation

void KSP.UI.Screens.ProtoStageIcon.BlinkBorder ( float  interval)
inline
void KSP.UI.Screens.ProtoStageIcon.ClearInfoBoxes ( )
inline
StageIcon KSP.UI.Screens.ProtoStageIcon.CreateIcon ( bool  alertStagingSequencer = true)
inline
void KSP.UI.Screens.ProtoStageIcon.DisableIcon ( )
inline
ProtoStageIconInfo KSP.UI.Screens.ProtoStageIcon.DisplayInfo ( )
inline
void KSP.UI.Screens.ProtoStageIcon.Freeze ( )
inline
void KSP.UI.Screens.ProtoStageIcon.Highlight ( bool  highlightState)
inline
void KSP.UI.Screens.ProtoStageIcon.RemoveIcon ( bool  alertStagingSequencer = true)
inline
void KSP.UI.Screens.ProtoStageIcon.RemoveInfo ( ProtoStageIconInfo  iBox)
inline
void KSP.UI.Screens.ProtoStageIcon.SetBackgroundColor ( Color  c)
inline
void KSP.UI.Screens.ProtoStageIcon.SetBorderColor ( Color  c)
inline
void KSP.UI.Screens.ProtoStageIcon.SetIcon ( DefaultIcons  icon)
inline
void KSP.UI.Screens.ProtoStageIcon.SetIcon ( string  file,
int  x,
int  y 
)
inline
void KSP.UI.Screens.ProtoStageIcon.SetIconColor ( Color  c)
inline
void KSP.UI.Screens.ProtoStageIcon.Unfreeze ( )
inline

Member Data Documentation

Color KSP.UI.Screens.ProtoStageIcon.backgroundColor = Color.white
protected
bool KSP.UI.Screens.ProtoStageIcon.blinkBorder = false
protected
float KSP.UI.Screens.ProtoStageIcon.blinkInterval = 1.0f
protected
Color KSP.UI.Screens.ProtoStageIcon.borderColor = Color.white
protected
string KSP.UI.Screens.ProtoStageIcon.customIconFilename = ""
protected
int KSP.UI.Screens.ProtoStageIcon.customIconX = 0
protected
int KSP.UI.Screens.ProtoStageIcon.customIconY = 0
protected
bool KSP.UI.Screens.ProtoStageIcon.frozen = false
protected
bool KSP.UI.Screens.ProtoStageIcon.highlighted = false
protected
Vector3 KSP.UI.Screens.ProtoStageIcon.homePos
Color KSP.UI.Screens.ProtoStageIcon.iconColor = Color.white
protected
DefaultIcons KSP.UI.Screens.ProtoStageIcon.iconType = DefaultIcons.MYSTERY_PART
protected
Callback KSP.UI.Screens.ProtoStageIcon.onStageIconDestroy = delegate { }

Called when the graphical component StageIcon is destroyed. This callback is provided in the event you are using quick lookups to ProtoStageIconInfo etc. which also will have their graphical components destroyed.

Part KSP.UI.Screens.ProtoStageIcon.part
protected
StageIcon KSP.UI.Screens.ProtoStageIcon.stageIcon
protected

Property Documentation

bool KSP.UI.Screens.ProtoStageIcon.Highlighted
get
Part KSP.UI.Screens.ProtoStageIcon.Part
get
StageIcon KSP.UI.Screens.ProtoStageIcon.StageIcon
get

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