C# Class KLF.KLFVessel

ファイルを表示 Open project: SodiumEyes/KerbalLiveFeed Class Usage Examples

Public Properties

Property Type Description
info KLFVesselInfo

Public Methods

Method Description
KLFVessel ( String vessel_name, String owner_name, System.Guid _id ) : System
colorFromHSV ( float hue, float saturation, float lumValue ) : Color
controlledColor ( int seed, float sBand, float vBand ) : Color
generateActiveColor ( String str ) : Color
generateActiveColor ( int seed ) : Color
generateActiveColor ( ) : void
setOrbitalData ( CelestialBody body, Vector3 local_pos, Vector3 local_vel, Vector3 local_dir ) : void
situationIsGrounded ( Situation situation ) : bool
updateOrbitProperties ( ) : void
updatePosition ( ) : void
updateRenderProperties ( bool force_hide = false ) : void

Method Details

KLFVessel() public method

public KLFVessel ( String vessel_name, String owner_name, System.Guid _id ) : System
vessel_name String
owner_name String
_id System.Guid
return System

colorFromHSV() public static method

public static colorFromHSV ( float hue, float saturation, float lumValue ) : Color
hue float
saturation float
lumValue float
return Color

controlledColor() public static method

public static controlledColor ( int seed, float sBand, float vBand ) : Color
seed int
sBand float
vBand float
return Color

generateActiveColor() public static method

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

generateActiveColor() public static method

public static generateActiveColor ( int seed ) : Color
seed 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

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 KLFVesselInfo,KLF info
return KLFVesselInfo