Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyShipController.TryGetPlanetElevation

Morten Aune Lyrstad edited this page Jun 28, 2020 · 22 revisions

IndexNamespace IndexIMyShipController

Summary

public bool TryGetPlanetElevation(MyPlanetElevation detail, out double elevation)

Attempts to get the elevation of the ship in relation to the nearest planet. This method is only available when a ship is within the gravity well of a planet.

Returns

bool

Parameters

Clone this wiki locally