C# Class KMP.KMPVessel

Datei anzeigen Open project: TehGimp/KerbalMultiPlayer Class Usage Examples

Public Properties

Property Type Description
info KMPVesselInfo

Public Methods

Method Description
KMPVessel ( String vessel_name, String owner_name, System.Guid _id, string body_name ) : System
generateActiveColor ( String str ) : Color
generateActiveColor ( int val ) : Color
generateActiveColor ( ) : void
setOrbitalData ( CelestialBody body, Vector3 local_pos, Vector3 local_vel, Vector3 local_dir ) : void
situationIsGrounded ( Situation situation ) : bool
situationIsOrbital ( Situation situation ) : bool
updateOrbitProperties ( ) : void
updatePosition ( ) : void
updateRenderProperties ( bool force_hide = false ) : void

Method Details

KMPVessel() public method

public KMPVessel ( String vessel_name, String owner_name, System.Guid _id, string body_name ) : System
vessel_name String
owner_name String
_id System.Guid
body_name string
return System

generateActiveColor() public static method

public static generateActiveColor ( String str ) : Color
str String
return Color

generateActiveColor() public static method

public static generateActiveColor ( int val ) : Color
val int
return Color

generateActiveColor() public method

public generateActiveColor ( ) : void
return void

setOrbitalData() public method

public setOrbitalData ( CelestialBody body, Vector3 local_pos, Vector3 local_vel, Vector3 local_dir ) : void
body CelestialBody
local_pos Vector3
local_vel Vector3
local_dir Vector3
return void

situationIsGrounded() public static method

public static situationIsGrounded ( Situation situation ) : bool
situation Situation
return bool

situationIsOrbital() public static method

public static situationIsOrbital ( Situation situation ) : bool
situation Situation
return bool

updateOrbitProperties() public method

public updateOrbitProperties ( ) : void
return void

updatePosition() public method

public updatePosition ( ) : void
return void

updateRenderProperties() public method

public updateRenderProperties ( bool force_hide = false ) : void
force_hide bool
return void

Property Details

info public_oe property

public KMPVesselInfo,KMP info
return KMPVesselInfo