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

Public Member Functions

InternalProp AddProp (ConfigNode node)
 Adds a prop with a model More...
 
InternalProp AddPropModule (ConfigNode node)
 Adds a prop module which does not contain a model More...
 
void DespawnCrew ()
 
Animation[] FindModelAnimators (string clipName)
 
Animation[] FindModelAnimators ()
 
FindModelComponent< T > ()
 
FindModelComponent< T > (string childName)
 
T[] FindModelComponents< T > ()
 
T[] FindModelComponents< T > (string childName)
 
Transform FindModelTransform (string childName)
 
int GetAvailableSeatCount ()
 
List< InternalSeatGetAvailableSeats ()
 
InternalSeat GetNextAvailableSeat ()
 
int GetNextAvailableSeatIndex ()
 
void Initialize (Part p)
 Sets references, and assigns protocrewmembers to their seats. More...
 
Vector3 InternalToWorld (Vector3 internalSpacePosition)
 
Quaternion InternalToWorld (Quaternion internalSpaceRotation)
 
void Load (ConfigNode node)
 
void OnFixedUpdate ()
 
void OnUpdate ()
 
void SetVisible (bool visible)
 
bool SitKerbalAt (ProtoCrewMember kerbal, InternalSeat seat)
 
void SpawnCrew ()
 
void UnseatKerbal (ProtoCrewMember crew)
 
void UnseatKerbalAt (InternalSeat seat)
 

Public Attributes

ConfigNode internalConfig
 
string internalName
 
Part part
 
List< InternalPropprops = new List<InternalProp>()
 
List< InternalSeatseats = new List<InternalSeat>()
 

Protected Member Functions

void AssignToSeat (ProtoCrewMember crew)
 

Properties

int CrewCapacity [get]
 
Vessel vessel [get]
 

Member Function Documentation

InternalProp InternalModel.AddProp ( ConfigNode  node)
inline

Adds a prop with a model

Parameters
node
Returns
InternalProp InternalModel.AddPropModule ( ConfigNode  node)
inline

Adds a prop module which does not contain a model

Parameters
node
Returns
void InternalModel.AssignToSeat ( ProtoCrewMember  crew)
inlineprotected
void InternalModel.DespawnCrew ( )
inline
Animation [] InternalModel.FindModelAnimators ( string  clipName)
inline
Animation [] InternalModel.FindModelAnimators ( )
inline
T InternalModel.FindModelComponent< T > ( )
inline
Type Constraints
T :Component 
T InternalModel.FindModelComponent< T > ( string  childName)
inline
Type Constraints
T :Component 
T [] InternalModel.FindModelComponents< T > ( )
inline
Type Constraints
T :Component 
T [] InternalModel.FindModelComponents< T > ( string  childName)
inline
Type Constraints
T :Component 
Transform InternalModel.FindModelTransform ( string  childName)
inline
int InternalModel.GetAvailableSeatCount ( )
inline
List<InternalSeat> InternalModel.GetAvailableSeats ( )
inline
InternalSeat InternalModel.GetNextAvailableSeat ( )
inline
int InternalModel.GetNextAvailableSeatIndex ( )
inline
void InternalModel.Initialize ( Part  p)
inline

Sets references, and assigns protocrewmembers to their seats.

Parameters
p
Vector3 InternalModel.InternalToWorld ( Vector3  internalSpacePosition)
inline
Quaternion InternalModel.InternalToWorld ( Quaternion  internalSpaceRotation)
inline
void InternalModel.Load ( ConfigNode  node)
inline

< turn off default, scaled scenery, local scenery, and terrain colliders

void InternalModel.OnFixedUpdate ( )
inline
void InternalModel.OnUpdate ( )
inline
void InternalModel.SetVisible ( bool  visible)
inline
bool InternalModel.SitKerbalAt ( ProtoCrewMember  kerbal,
InternalSeat  seat 
)
inline
void InternalModel.SpawnCrew ( )
inline
void InternalModel.UnseatKerbal ( ProtoCrewMember  crew)
inline
void InternalModel.UnseatKerbalAt ( InternalSeat  seat)
inline

Member Data Documentation

ConfigNode InternalModel.internalConfig
string InternalModel.internalName
Part InternalModel.part
List<InternalProp> InternalModel.props = new List<InternalProp>()
List<InternalSeat> InternalModel.seats = new List<InternalSeat>()

Property Documentation

int InternalModel.CrewCapacity
get
Vessel InternalModel.vessel
get

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