C# Class KLF.KLFVessel

Afficher le fichier Open project: SodiumEyes/KerbalLiveFeed Class Usage Examples

Méthodes publiques

Свойство Type Description
info KLFVesselInfo

Méthodes publiques

Méthode 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 méthode

public KLFVessel ( String vessel_name, String owner_name, System.Guid _id ) : System
vessel_name String
owner_name String
_id System.Guid
Résultat System

colorFromHSV() public static méthode

public static colorFromHSV ( float hue, float saturation, float lumValue ) : Color
hue float
saturation float
lumValue float
Résultat Color

controlledColor() public static méthode

public static controlledColor ( int seed, float sBand, float vBand ) : Color
seed int
sBand float
vBand float
Résultat Color

generateActiveColor() public static méthode

public static generateActiveColor ( String str ) : Color
str String
Résultat Color

generateActiveColor() public static méthode

public static generateActiveColor ( int seed ) : Color
seed int
Résultat Color

generateActiveColor() public méthode

public generateActiveColor ( ) : void
Résultat void

setOrbitalData() public méthode

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
Résultat void

situationIsGrounded() public static méthode

public static situationIsGrounded ( Situation situation ) : bool
situation Situation
Résultat bool

updateOrbitProperties() public méthode

public updateOrbitProperties ( ) : void
Résultat void

updatePosition() public méthode

public updatePosition ( ) : void
Résultat void

updateRenderProperties() public méthode

public updateRenderProperties ( bool force_hide = false ) : void
force_hide bool
Résultat void

Property Details

info public_oe property

public KLFVesselInfo,KLF info
Résultat KLFVesselInfo