CentralBodiesFacetGetFromContext Method |
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 23.2.417.0 (23.2.417.0)
Syntaxpublic static CentralBodiesFacet GetFromContext()
Public Shared Function GetFromContext As CentralBodiesFacet
public:
static CentralBodiesFacet^ GetFromContext()
static member GetFromContext : unit -> CentralBodiesFacet
Return Value
Type:
CentralBodiesFacetThe instance from the context.
Remarks
Examples
This example shows how to obtain the Earth central body:
EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth;
See Also