Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...
    Index

    Constructors

    Properties

    currentSystemCursor: HTMLDivElement
    currentSystemCursorContainer: HTMLDivElement
    cursor: HTMLDivElement
    distanceToSol: HTMLParagraphElement
    factions: HTMLDivElement
    hoveredSystemCursor: HTMLDivElement
    hoveredSystemCursorContainer: HTMLDivElement
    htmlRoot: HTMLDivElement
    humanPresence: HTMLDivElement
    infoPanel: HTMLDivElement
    infoPanelStarPreview: HTMLDivElement
    infoPanelTitle: HTMLHeadingElement
    nbPlanets: HTMLParagraphElement
    nbSpaceStations: HTMLParagraphElement
    onSystemFocusObservable: Observable<
        {
            localX: number;
            localY: number;
            localZ: number;
            starSectorX: number;
            starSectorY: number;
            starSectorZ: number;
        },
    > = ...
    selectedSystemCursor: HTMLDivElement
    selectedSystemCursorContainer: HTMLDivElement
    shortHandUI: HTMLDivElement
    shortHandUIBookmarkButton: StarMapBookmarkButton
    shortHandUIButtonContainer: HTMLDivElement
    shortHandUIDistanceFromCurrent: HTMLParagraphElement
    shortHandUIFactions: HTMLDivElement
    shortHandUIPlotItineraryButton: HTMLButtonElement
    shortHandUISystemType: HTMLParagraphElement
    shortHandUITitle: HTMLHeadingElement
    starSector: HTMLParagraphElement

    Methods

    • Parameters

      • systemCoordinates: {
            localX: number;
            localY: number;
            localZ: number;
            starSectorX: number;
            starSectorY: number;
            starSectorZ: number;
        }
        • localX: number

          Floating point X coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

        • localY: number

          Floating point Y coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

        • localZ: number

          Floating point Z coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

        • starSectorX: number

          Integer coordinates of the star sector along the universe X axis

        • starSectorY: number

          Integer coordinates of the star sector along the universe Y axis

        • starSectorZ: number

          Integer coordinates of the star sector along the universe Z axis

      Returns void

    • Parameters

      • system:
            | null
            | {
                localX: number;
                localY: number;
                localZ: number;
                starSectorX: number;
                starSectorY: number;
                starSectorZ: number;
            }
        • null
        • {
              localX: number;
              localY: number;
              localZ: number;
              starSectorX: number;
              starSectorY: number;
              starSectorZ: number;
          }
          • localX: number

            Floating point X coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

          • localY: number

            Floating point Y coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

          • localZ: number

            Floating point Z coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

          • starSectorX: number

            Integer coordinates of the star sector along the universe X axis

          • starSectorY: number

            Integer coordinates of the star sector along the universe Y axis

          • starSectorZ: number

            Integer coordinates of the star sector along the universe Z axis

      Returns void

    • Parameters

      • targetSystemModel: DeepReadonly<StarSystemModel>
      • currentSystemCoordinates:
            | null
            | {
                localX: number;
                localY: number;
                localZ: number;
                starSectorX: number;
                starSectorY: number;
                starSectorZ: number;
            }
        • null
        • {
              localX: number;
              localY: number;
              localZ: number;
              starSectorX: number;
              starSectorY: number;
              starSectorZ: number;
          }
          • localX: number

            Floating point X coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

          • localY: number

            Floating point Y coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

          • localZ: number

            Floating point Z coordinate of the star system inside the star sector. Must be between -0.5 and 0.5.

          • starSectorX: number

            Integer coordinates of the star sector along the universe X axis

          • starSectorY: number

            Integer coordinates of the star sector along the universe Y axis

          • starSectorZ: number

            Integer coordinates of the star sector along the universe Z axis

      Returns void

    • Parameters

      • playerPosition: Vector3
      • centerOfUniversePosition: Vector3

      Returns void