KPCPlanetaryObject

public extension KPCPlanetaryObject

Undocumented

  • Returns the planetary object index from a given planet index.

    Declaration

    Swift

    static func fromPlanet(_ planet: KPCAAPlanet) -> KPCPlanetaryObject

    Parameters

    planet

    The planet index.

    Return Value

    The corresponding planetary object index.

  • Returns the SwiftAA Class type for the given planetary object.

    Declaration

    Swift

    var objectType: Planet.Type? { get }