C# Class Trajectories.MapOverlay

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: neuoy/KSPTrajectories Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
OnDestroy ( ) : void
Render ( ) : void
Update ( ) : void

Private Methods

Method Description
DetachCamera ( ) : void
GetMesh ( CelestialBody body, Material material ) : GameObject
MakeRibbonEdge ( UnityEngine.Vector3d prevPos, UnityEngine.Vector3d edgeCenter, float width, Vector3 vertices, int startIndex ) : void
initMeshFromImpact ( CelestialBody body, Mesh mesh, Vector3 impactPosition, Color color ) : void
initMeshFromOrbit ( Vector3 bodyPosition, Mesh mesh, Orbit orbit, double startTime, double duration, Color color ) : void
initMeshFromTrajectory ( Vector3 bodyPosition, Mesh mesh, Trajectory trajectory, Color color ) : void
refreshMesh ( ) : void
setDisplayEnabled ( bool enabled ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

Render() public method

public Render ( ) : void
return void

Update() public method

public Update ( ) : void
return void