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

Classes

class  AvatarAnimation
 randomLoop must be set up with at least one looping animation set to "isFallback". More...
 
class  AvatarAnimationClip
 
class  AvatarState
 

Public Member Functions

Vector2 getThoughtVector (float curiousness, float certainty)
 
Vector2 getThoughtVector (float score, float range, int samples)
 
void OnInstructorReady (OnReady onInstructorReady)
 
delegate void OnReady ()
 
string TriggerAnim (AvatarState trigger, AvatarAnimation loop, bool playSound=true)
 

Public Attributes

CharacterAnimationState anim_mc_happyA_idle
 
CharacterAnimationState anim_mc_happyB_idle
 
CharacterAnimationState anim_mc_happyC_idle
 
CharacterAnimationState anim_mc_idle
 
CharacterAnimationState anim_mc_idle_drinkCoffee
 
CharacterAnimationState anim_mc_lookLeft
 
CharacterAnimationState anim_mc_lookRight
 
CharacterAnimationState anim_mc_lookUp
 
CharacterAnimationState anim_mc_scaredA_idle
 
CharacterAnimationState anim_mc_scaredB_idle
 
CharacterAnimationState anim_mc_scaredC_idle
 
CharacterAnimationState anim_sound_acceptA
 
CharacterAnimationState anim_sound_acceptB
 
CharacterAnimationState anim_sound_acceptC
 
CharacterAnimationState anim_sound_cancelA
 
CharacterAnimationState anim_sound_cancelB
 
CharacterAnimationState anim_sound_declineA
 
CharacterAnimationState anim_sound_declineB
 
CharacterAnimationState anim_sound_selectA
 
CharacterAnimationState anim_sound_selectB
 
CharacterAnimationState anim_sound_selectC
 
CharacterAnimationState anim_sound_selectD
 
CharacterAnimationState anim_sound_selectE
 
CharacterAnimationState anim_sound_selectEasy
 
CharacterAnimationState anim_sound_selectHard
 
CharacterAnimationState anim_sound_selectNormal
 
AvatarAnimation animLoop_default
 
AvatarAnimation animLoop_excited
 
AvatarAnimation animLoop_happy
 
AvatarState animTrigger_accept
 
AvatarState animTrigger_cancel
 
AvatarState animTrigger_decline
 
AvatarState animTrigger_select
 
AvatarState animTrigger_selectEasy
 
AvatarState animTrigger_selectHard
 
AvatarState animTrigger_selectNormal
 
KerbalInstructor avatar
 
AvatarAnimation currentAvatarAnimation
 
float rangeWeight = 1.0f
 
List< AvatarStatestates = new List<AvatarState>()
 

Member Function Documentation

Vector2 MCAvatarController.getThoughtVector ( float  curiousness,
float  certainty 
)
inline
Vector2 MCAvatarController.getThoughtVector ( float  score,
float  range,
int  samples 
)
inline

< map 0/1 float to -1/1 range

void MCAvatarController.OnInstructorReady ( OnReady  onInstructorReady)
inline
delegate void MCAvatarController.OnReady ( )
string MCAvatarController.TriggerAnim ( AvatarState  trigger,
AvatarAnimation  loop,
bool  playSound = true 
)
inline

Member Data Documentation

CharacterAnimationState MCAvatarController.anim_mc_happyA_idle
CharacterAnimationState MCAvatarController.anim_mc_happyB_idle
CharacterAnimationState MCAvatarController.anim_mc_happyC_idle
CharacterAnimationState MCAvatarController.anim_mc_idle
CharacterAnimationState MCAvatarController.anim_mc_idle_drinkCoffee
CharacterAnimationState MCAvatarController.anim_mc_lookLeft
CharacterAnimationState MCAvatarController.anim_mc_lookRight
CharacterAnimationState MCAvatarController.anim_mc_lookUp
CharacterAnimationState MCAvatarController.anim_mc_scaredA_idle
CharacterAnimationState MCAvatarController.anim_mc_scaredB_idle
CharacterAnimationState MCAvatarController.anim_mc_scaredC_idle
CharacterAnimationState MCAvatarController.anim_sound_acceptA
CharacterAnimationState MCAvatarController.anim_sound_acceptB
CharacterAnimationState MCAvatarController.anim_sound_acceptC
CharacterAnimationState MCAvatarController.anim_sound_cancelA
CharacterAnimationState MCAvatarController.anim_sound_cancelB
CharacterAnimationState MCAvatarController.anim_sound_declineA
CharacterAnimationState MCAvatarController.anim_sound_declineB
CharacterAnimationState MCAvatarController.anim_sound_selectA
CharacterAnimationState MCAvatarController.anim_sound_selectB
CharacterAnimationState MCAvatarController.anim_sound_selectC
CharacterAnimationState MCAvatarController.anim_sound_selectD
CharacterAnimationState MCAvatarController.anim_sound_selectE
CharacterAnimationState MCAvatarController.anim_sound_selectEasy
CharacterAnimationState MCAvatarController.anim_sound_selectHard
CharacterAnimationState MCAvatarController.anim_sound_selectNormal
AvatarAnimation MCAvatarController.animLoop_default
AvatarAnimation MCAvatarController.animLoop_excited
AvatarAnimation MCAvatarController.animLoop_happy
AvatarState MCAvatarController.animTrigger_accept
AvatarState MCAvatarController.animTrigger_cancel
AvatarState MCAvatarController.animTrigger_decline
AvatarState MCAvatarController.animTrigger_select
AvatarState MCAvatarController.animTrigger_selectEasy
AvatarState MCAvatarController.animTrigger_selectHard
AvatarState MCAvatarController.animTrigger_selectNormal
KerbalInstructor MCAvatarController.avatar
AvatarAnimation MCAvatarController.currentAvatarAnimation
float MCAvatarController.rangeWeight = 1.0f
List<AvatarState> MCAvatarController.states = new List<AvatarState>()

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