Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Kerbal Class Reference
Inheritance diagram for Kerbal:

Public Types

enum  States { States.BAILED_OUT, States.DEAD, States.NO_SIGNAL, States.ALIVE }
 

Public Member Functions

virtual void die ()
 
virtual void IVADisable (bool setIVAMode=true)
 
virtual void IVAEnable (bool setIVAMode=true)
 
virtual void SetVisibleInPortrait (bool visible)
 
virtual void ShowHelmet (bool show)
 
virtual void Start ()
 

Public Attributes

RenderTexture avatarTexture
 
float camBobAmount = 10f
 
Transform camPivot
 
bool capturedInitial = false
 
float courage
 
string crewMemberName
 
Vector3 eyeInitialPos
 
Transform eyeTransform
 
Transform headTransform
 
Transform helmetTransform
 used for removing things during IVA More...
 
Part InPart
 A handle to the part that contains this Kerbal More...
 
bool isBadass
 
Camera kerbalCam
 
float noiseSeed
 
ProtoCrewMember protoCrewMember
 
bool randomizeOnStartup = true
 
ProtoCrewMember.RosterStatus rosterStatus
 
Vector2 screenPos
 
bool showHelmet
 
States state
 
float staticOverlayDuration = 3f
 
float stupidity
 
Texture2D textureStandard
 
Renderer[] textureTargets
 
Texture2D textureVeteran
 for turning off things with seat remove helmets More...
 
float updateInterval
 
bool veteran
 

Protected Member Functions

virtual void Awake ()
 
virtual void CameraOverlayUpdate ()
 
virtual void CheckEVAUnlocked ()
 
virtual void kerbalAvatarUpdate ()
 
virtual IEnumerator kerbalAvatarUpdateCycle ()
 
virtual void kerbalSeatCamUpdate (Camera seatCamera)
 
virtual void OnDestroy ()
 
virtual void onVesselSitChange (GameEvents.HostedFromToAction< Vessel, Vessel.Situations > evt)
 
virtual void SetupCache ()
 
virtual void SetupKerbalModel ()
 

Protected Attributes

Animator[] animators
 
bool EVAisUnlocked
 
Renderer[] headRenderers
 
IVACamera ivaCamera
 
bool ivaMode = false
 
KerbalPortrait portrait
 
bool running
 
Coroutine updateCoroutine
 
WaitForSeconds updIntervalYield
 
bool visibleInPortrait
 

Properties

Animator[] Animators [get]
 
Renderer[] HeadRenderers [get]
 
Vessel InVessel [get]
 A handle to the vessel containing this Kerbal More...
 

Member Enumeration Documentation

Enumerator
BAILED_OUT 
DEAD 
NO_SIGNAL 
ALIVE 

Member Function Documentation

virtual void Kerbal.Awake ( )
inlineprotectedvirtual
virtual void Kerbal.CameraOverlayUpdate ( )
inlineprotectedvirtual
virtual void Kerbal.CheckEVAUnlocked ( )
inlineprotectedvirtual
virtual void Kerbal.die ( )
inlinevirtual
virtual void Kerbal.IVADisable ( bool  setIVAMode = true)
inlinevirtual
virtual void Kerbal.IVAEnable ( bool  setIVAMode = true)
inlinevirtual
virtual void Kerbal.kerbalAvatarUpdate ( )
inlineprotectedvirtual
virtual IEnumerator Kerbal.kerbalAvatarUpdateCycle ( )
inlineprotectedvirtual
virtual void Kerbal.kerbalSeatCamUpdate ( Camera  seatCamera)
inlineprotectedvirtual

< shake the camera

virtual void Kerbal.OnDestroy ( )
inlineprotectedvirtual
virtual void Kerbal.onVesselSitChange ( GameEvents.HostedFromToAction< Vessel, Vessel.Situations evt)
inlineprotectedvirtual
virtual void Kerbal.SetupCache ( )
inlineprotectedvirtual
virtual void Kerbal.SetupKerbalModel ( )
inlineprotectedvirtual
virtual void Kerbal.SetVisibleInPortrait ( bool  visible)
inlinevirtual
virtual void Kerbal.ShowHelmet ( bool  show)
inlinevirtual
virtual void Kerbal.Start ( )
inlinevirtual

Member Data Documentation

Animator [] Kerbal.animators
protected
RenderTexture Kerbal.avatarTexture
float Kerbal.camBobAmount = 10f
Transform Kerbal.camPivot
bool Kerbal.capturedInitial = false
float Kerbal.courage
string Kerbal.crewMemberName
bool Kerbal.EVAisUnlocked
protected
Vector3 Kerbal.eyeInitialPos
Transform Kerbal.eyeTransform
Renderer [] Kerbal.headRenderers
protected
Transform Kerbal.headTransform
Transform Kerbal.helmetTransform

used for removing things during IVA

Part Kerbal.InPart

A handle to the part that contains this Kerbal

bool Kerbal.isBadass
IVACamera Kerbal.ivaCamera
protected
bool Kerbal.ivaMode = false
protected
Camera Kerbal.kerbalCam
float Kerbal.noiseSeed
KerbalPortrait Kerbal.portrait
protected
ProtoCrewMember Kerbal.protoCrewMember
bool Kerbal.randomizeOnStartup = true
ProtoCrewMember.RosterStatus Kerbal.rosterStatus
bool Kerbal.running
protected
Vector2 Kerbal.screenPos
bool Kerbal.showHelmet
States Kerbal.state
float Kerbal.staticOverlayDuration = 3f
float Kerbal.stupidity
Texture2D Kerbal.textureStandard
Renderer [] Kerbal.textureTargets
Texture2D Kerbal.textureVeteran

for turning off things with seat remove helmets

Coroutine Kerbal.updateCoroutine
protected
float Kerbal.updateInterval
WaitForSeconds Kerbal.updIntervalYield
protected
bool Kerbal.veteran
bool Kerbal.visibleInPortrait
protected

Property Documentation

Animator [] Kerbal.Animators
get
Renderer [] Kerbal.HeadRenderers
get
Vessel Kerbal.InVessel
get

A handle to the vessel containing this Kerbal


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