C# Class GravityTurn.FlightMap

Show file Open project: johnfink8/GravityTurn Class Usage Examples

Public Properties

Property Type Description
texture UnityEngine.Texture2D

Public Methods

Method Description
BetterResults ( double DragLoss, double GravityDragLoss, double VectorLoss ) : bool
FlightMap ( GravityTurner turner, int width = 800, int height = 400 ) : System
GetSettings ( float &TurnAngle, float &StartSpeed ) : void
Load ( string filename, GravityTurner turner ) : FlightMap
MaxHeat ( ) : float
SameSettings ( float inTurnAngle, float inStartSpeed ) : bool
Save ( string filename ) : void
StartSpeed ( ) : float
TotalLoss ( ) : float
TurnAngle ( ) : float
UpdateMap ( Vessel vessel ) : void
WriteParameters ( float TurnAngle, float StartSpeed ) : void
WriteResults ( double DragLoss, double GravityDragLoss, double VectorLoss ) : void

Method Details

BetterResults() public method

public BetterResults ( double DragLoss, double GravityDragLoss, double VectorLoss ) : bool
DragLoss double
GravityDragLoss double
VectorLoss double
return bool

FlightMap() public method

public FlightMap ( GravityTurner turner, int width = 800, int height = 400 ) : System
turner GravityTurner
width int
height int
return System

GetSettings() public method

public GetSettings ( float &TurnAngle, float &StartSpeed ) : void
TurnAngle float
StartSpeed float
return void

Load() public static method

public static Load ( string filename, GravityTurner turner ) : FlightMap
filename string
turner GravityTurner
return FlightMap

MaxHeat() public method

public MaxHeat ( ) : float
return float

SameSettings() public method

public SameSettings ( float inTurnAngle, float inStartSpeed ) : bool
inTurnAngle float
inStartSpeed float
return bool

Save() public method

public Save ( string filename ) : void
filename string
return void

StartSpeed() public method

public StartSpeed ( ) : float
return float

TotalLoss() public method

public TotalLoss ( ) : float
return float

TurnAngle() public method

public TurnAngle ( ) : float
return float

UpdateMap() public method

public UpdateMap ( Vessel vessel ) : void
vessel Vessel
return void

WriteParameters() public method

public WriteParameters ( float TurnAngle, float StartSpeed ) : void
TurnAngle float
StartSpeed float
return void

WriteResults() public method

public WriteResults ( double DragLoss, double GravityDragLoss, double VectorLoss ) : void
DragLoss double
GravityDragLoss double
VectorLoss double
return void

Property Details

texture public property

public Texture2D,UnityEngine texture
return UnityEngine.Texture2D