C# Class PersistentTrails.Track

Mostra file Open project: GrJo/KSPPersistentTrails Class Usage Examples

Public Methods

Method Description
GetEndTime ( ) : double
GetStartTime ( ) : double
Track ( ) : System
Track ( string filename ) : System
addLogEntry ( string label, string description ) : void
evaluateAtTime ( double ut, Vector3 &position, Quaternion &orientation, Vector3 &velocity ) : void
length ( ) : float
serialized ( ) : String
setupRenderer ( ) : void
toggleVisibility ( ) : void
tryAddWaypoint ( RecordingThresholds thresholds ) : void
updateDirectionMarkers ( ) : void
updateNodeLabelPositions ( ) : void

Private Methods

Method Description
calculateLineVertices ( ) : void
closeLoop ( ) : void
evaluateAt ( float relValue, Vector3 &direction, double &lat, double &lon ) : Vector3
initDefaultValues ( ) : void
openLoop ( ) : void
parseLegacyTrack ( StreamReader reader ) : void
setupLogEntryLabel ( LogEntry logEntry ) : void
sufficientChange ( Waypoint newNode, RecordingThresholds thresholds ) : bool

Method Details

GetEndTime() public method

public GetEndTime ( ) : double
return double

GetStartTime() public method

public GetStartTime ( ) : double
return double

Track() public method

public Track ( ) : System
return System

Track() public method

public Track ( string filename ) : System
filename string
return System

addLogEntry() public method

public addLogEntry ( string label, string description ) : void
label string
description string
return void

evaluateAtTime() public method

public evaluateAtTime ( double ut, Vector3 &position, Quaternion &orientation, Vector3 &velocity ) : void
ut double
position Vector3
orientation UnityEngine.Quaternion
velocity Vector3
return void

length() public method

public length ( ) : float
return float

serialized() public method

public serialized ( ) : String
return String

setupRenderer() public method

public setupRenderer ( ) : void
return void

toggleVisibility() public method

public toggleVisibility ( ) : void
return void

tryAddWaypoint() public method

public tryAddWaypoint ( RecordingThresholds thresholds ) : void
thresholds RecordingThresholds
return void

updateDirectionMarkers() public method

public updateDirectionMarkers ( ) : void
return void

updateNodeLabelPositions() public method

public updateNodeLabelPositions ( ) : void
return void