| IMyShipControllerTryGetPlanetPosition Method | 
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
            Attempts to get the world position of the nearest planet. This method is only available when a ship is 
            within the gravity well of a planet.
            
 
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
Syntaxbool TryGetPlanetPosition(
	out Vector3D position
)
Function TryGetPlanetPosition ( 
	<OutAttribute> ByRef position As Vector3D
) As Boolean
bool TryGetPlanetPosition(
	[OutAttribute] Vector3D% position
)
abstract TryGetPlanetPosition : 
        position : Vector3D byref -> bool 
Parameters
- position
- Type: Vector3D
 
Return Value
Type: 
Boolean See Also
See Also