Package gaiasky.event

Enum Class Event

java.lang.Object
java.lang.Enum<Event>
gaiasky.event.Event
All Implemented Interfaces:
Serializable, Comparable<Event>, Constable

public enum Event extends Enum<Event>
This enum defines all the events in Gaia Sky. Each event may have data associated with it, which is typically required by the event listeners. The entry point to the event system functionality (subscription, posting, etc.) is EventManager.
  • Enum Constant Details

    • ADD_CUSTOM_IMAGE

      public static final Event ADD_CUSTOM_IMAGE
      Adds or modifies a custom image. Contains:
      1. id - integer
      2. tex - Texture
      3. x - X position of bottom-left corner, float in [0..1]
      4. y - Y position of bottom-left corner, float in [0..1]
      5. r - optional, float in [0..1]
      6. g - optional, float in [0..1]
      7. b - optional, float in [0..1]
      8. a - optional, float in [0..1]
    • ADD_CUSTOM_MESSAGE

      public static final Event ADD_CUSTOM_MESSAGE
      Adds or modifies a custom message. Contains:
      1. id - integer
      2. message - string
      3. x - X position of bottom-left corner, float in [0..1]
      4. y - Y position of bottom-left corner, float in [0..1]
      5. r - float in [0..1]
      6. g - float in [0..1]
      7. b - float in [0..1]
      8. a - float in [0..1]
      9. size - float
    • ADD_CUSTOM_TEXT

      public static final Event ADD_CUSTOM_TEXT
      Adds or modifies a custom message. Contains:
      1. id - integer
      2. message - string
      3. x - X position of bottom-left corner, float in [0..1]
      4. y - Y position of bottom-left corner, float in [0..1]
      5. x - maxWidth maximum width in screen percentage, float in [0..1]
      6. y - maxHeight maximum height in screen percentage, float in [0..1]
      7. r - float in [0..1]
      8. g - float in [0..1]
      9. b - float in [0..1]
      10. a - float in [0..1]
      11. size - float
    • ADD_GUI_COMPONENT_CMD

      public static final Event ADD_GUI_COMPONENT_CMD
      Adds the GUI component identified by the given name.
    • AMBIENT_LIGHT_CMD

      public static final Event AMBIENT_LIGHT_CMD
      Contains a float with the intensity of the light in [0,1].
    • ANTIALIASING_CMD

      public static final Event ANTIALIASING_CMD
      Anti aliasing changed, contains the new anti-aliasing value.
    • FXAA_QUALITY_CMD

      public static final Event FXAA_QUALITY_CMD
      Changes the quality setting of FXAA. Includes an integer in [0|1|2].
    • WINDOW_RESOLUTION_INFO

      public static final Event WINDOW_RESOLUTION_INFO
      Notifies of screen resolution changes in windowed mode. Contains the new width and height as integers.
    • SHOW_ADD_POSITION_BOOKMARK

      public static final Event SHOW_ADD_POSITION_BOOKMARK
      Shows window to give a name to the new position bookmark.
    • BOOKMARKS_ADD

      public static final Event BOOKMARKS_ADD
      Add bookmark. Contains the path and a boolean indicating if it is a folder.
    • BOOKMARKS_REMOVE

      public static final Event BOOKMARKS_REMOVE
      Remove bookmark. Contains the path to remove.
    • BOOKMARKS_REMOVE_ALL

      public static final Event BOOKMARKS_REMOVE_ALL
      Remove all bookmarks with the given name, irrespective of the path.
    • BOOKMARKS_MOVE

      public static final Event BOOKMARKS_MOVE
      Moves the bookmark 1 to a child of bookmark 2.
    • BOOKMARKS_MOVE_UP

      public static final Event BOOKMARKS_MOVE_UP
      Moves the bookmark up in the list of its parent.
    • BOOKMARKS_MOVE_DOWN

      public static final Event BOOKMARKS_MOVE_DOWN
      Moves the bookmark down in the list of its parent.
    • CONSOLE_CMD

      public static final Event CONSOLE_CMD
      Shows and hides the console. Contains a boolean with the state, which is optional. Otherwise we toggle the console.
    • BACKGROUND_LOADING_INFO

      public static final Event BACKGROUND_LOADING_INFO
      Empty event which informs that background loading is active.
    • RELATIVISTIC_ABERRATION_CMD

      public static final Event RELATIVISTIC_ABERRATION_CMD
      Enable and disable relativistic aberration.
    • BLOOM_CMD

      public static final Event BLOOM_CMD
      Contains the intensity value in [0,1].
    • UNSHARP_MASK_CMD

      public static final Event UNSHARP_MASK_CMD
      Contains the sharpen factor in [0,2].
    • CHROMATIC_ABERRATION_CMD

      public static final Event CHROMATIC_ABERRATION_CMD
      Contains the amount of chromatic aberration in [0,0.2].
    • FILM_GRAIN_CMD

      public static final Event FILM_GRAIN_CMD
      Contains the intensity of the film grain effect as a float.
    • BRIGHTNESS_CMD

      public static final Event BRIGHTNESS_CMD
      Contains the brightness level (float) in [-1,1].
    • CAMERA_CENTER

      public static final Event CAMERA_CENTER
      Removes the turn off the camera in focus mode.
    • CAMERA_CENTER_FOCUS_CMD

      public static final Event CAMERA_CENTER_FOCUS_CMD
      Sets the 'diverted' attribute of the camera. Gets a boolean with the state.
    • CAMERA_CINEMATIC_CMD

      public static final Event CAMERA_CINEMATIC_CMD
      Contains a boolean with the cinematic mode state (on/off).
    • CAMERA_CLOSEST_INFO

      public static final Event CAMERA_CLOSEST_INFO
      Broadcasts the overall closest (in [0]), the closest non-star body (in [1]) and the closest particle (in [2]) to this camera. Happens every frame.
    • CAMERA_NEW_CLOSEST

      public static final Event CAMERA_NEW_CLOSEST
      This event is broadcast whenever the closest object to the camera changes. Contains the closest object as an IFocus.
    • CAMERA_DIR_CMD

      public static final Event CAMERA_DIR_CMD
      Contains a double[] with the new direction.
    • CAMERA_FWD

      public static final Event CAMERA_FWD
      Contains the forward force in [0,1].
    • CAMERA_MODE_CMD

      public static final Event CAMERA_MODE_CMD
      Contains the new CameraMode object.
    • CAMERA_MOTION_UPDATE

      public static final Event CAMERA_MOTION_UPDATE
      Informs of a new camera state. Contains:
      1. Vector3d with the current position of the camera
      2. Double with the speed of the camera in km/s
      3. Vector3d with the velocity vector of the camera
      4. The PerspectiveCamera
    • CAMERA_ORIENTATION_UPDATE

      public static final Event CAMERA_ORIENTATION_UPDATE
      Sent whenever the camera orientation changes. Note that this happens more often than CAMERA_MOTION_UPDATE, as multi-render modes (cubemap, vr, etc.) need to send one of these every time the camera changes.
    • CAMERA_PAN

      public static final Event CAMERA_PAN
    • CAMERA_PLAY_INFO

      public static final Event CAMERA_PLAY_INFO
      Informs that the camera has started or stopped playing. Contains a boolean (true - start, false - stop).
    • CAMERA_POS_CMD

      public static final Event CAMERA_POS_CMD
      Contains a double[] with the new position.
    • CAMERA_PROJECTION_CMD

      public static final Event CAMERA_PROJECTION_CMD
      Update camera position, direction and up vectors all at once. Only meant for master-slave setups.
    • CAMERA_ROLL

      public static final Event CAMERA_ROLL
      Contains the roll value in [-1,1].
    • CAMERA_ROTATE

      public static final Event CAMERA_ROTATE
      Contains the deltaX and deltaY, both in [-1,1].
    • CAMERA_SPEED_CMD

      public static final Event CAMERA_SPEED_CMD
      Contains the new camera speed.
    • CAMERA_STOP

      public static final Event CAMERA_STOP
      Stops the camera motion.
    • CAMERA_TURN

      public static final Event CAMERA_TURN
      Contains the deltaX and deltaY in [-1,1].
    • CAMERA_UP_CMD

      public static final Event CAMERA_UP_CMD
      Contains a double[] with the new up vector.
    • CAMERA_TRACKING_OBJECT_CMD

      public static final Event CAMERA_TRACKING_OBJECT_CMD
      Sets or unsets the tracking object of the camera.
      1. the new tracking object, or null to disable tracking mode
      2. the name of the tracking object, or null to disable tracking mode
    • CAMERA_TRACKING_OBJECT_UPDATE

      public static final Event CAMERA_TRACKING_OBJECT_UPDATE
      Broadcasts the new camera tracking object, contains the object and the name, or null to indicate the camera is not tracking.
    • LIMIT_FPS_CMD

      public static final Event LIMIT_FPS_CMD
      Limits the frame rate, contains a double with the new limit frame rate.
    • CATALOG_ADD

      public static final Event CATALOG_ADD
      Add the new catalog object to the catalog manager. Contains:
      • [0] - CatalogInfo, the new catalog info object.
      • [1] - boolean, add object to scene graph.
    • CATALOG_HIGHLIGHT

      public static final Event CATALOG_HIGHLIGHT
      Highlight the catalog. Contains the CatalogInfo object, the highlight status (bool).
    • CATALOG_REMOVE

      public static final Event CATALOG_REMOVE
      Removes the catalog identified by the given string name.
    • CATALOG_VISIBLE

      public static final Event CATALOG_VISIBLE
      Sets the visibility of a catalog given its name.
    • CATALOG_POINT_SIZE_SCALING_CMD

      public static final Event CATALOG_POINT_SIZE_SCALING_CMD
      Sets the point size multiplier as a positive double for a catalog given its name. Contains the name of the catalog and the scaling value. This only has effect if the catalog has points.
    • CLEAR_HEADLINE_MESSAGE

      public static final Event CLEAR_HEADLINE_MESSAGE
      Clears the headline message.
    • CLEAR_MESSAGES

      public static final Event CLEAR_MESSAGES
      Clears all messages in the message interface.
    • CLEAR_SUBHEAD_MESSAGE

      public static final Event CLEAR_SUBHEAD_MESSAGE
      Clears the subhead message.
    • CONTRAST_CMD

      public static final Event CONTRAST_CMD
      Contains the contrast level (float) in [0,2].
    • CROSSHAIR_CLOSEST_CMD

      public static final Event CROSSHAIR_CLOSEST_CMD
      Activates/deactivates the closest crosshair. Contains a boolean with the state.
    • CROSSHAIR_FOCUS_CMD

      public static final Event CROSSHAIR_FOCUS_CMD
      Activates/deactivates the focus crosshair. Contains a boolean with the state.
    • CROSSHAIR_HOME_CMD

      public static final Event CROSSHAIR_HOME_CMD
      Activates/deactivates the home crosshair. Contains a boolean with the state.
    • CUBEMAP_CMD

      public static final Event CUBEMAP_CMD
      Sets cubemap mode. Contains a boolean with the new state, the new projection object.
    • CUBEMAP_PROJECTION_CMD

      public static final Event CUBEMAP_PROJECTION_CMD
      Sets a new cubemap projection. Contains the CubemapProjection object.
    • CUBEMAP_RESOLUTION_CMD

      public static final Event CUBEMAP_RESOLUTION_CMD
      Sets the resolution of the cubemap, contains an integer in [20..15000] with the resolution.
    • PROCEDURAL_GENERATION_RESOLUTION_CMD

      public static final Event PROCEDURAL_GENERATION_RESOLUTION_CMD
      Procedural generation resolution command.
    • PROCEDURAL_GENERATION_SAVE_TEXTURES_CMD

      public static final Event PROCEDURAL_GENERATION_SAVE_TEXTURES_CMD
      Save textures resulting from procedural generation to disk.
    • UV_GRID_FRAME_COORDINATES_CMD

      public static final Event UV_GRID_FRAME_COORDINATES_CMD
      Enable/disable displaying frame coordinates in UV grid.
    • DEBUG_OBJECTS

      public static final Event DEBUG_OBJECTS
    • DEBUG_QUEUE

      public static final Event DEBUG_QUEUE
    • DEBUG_RAM

      public static final Event DEBUG_RAM
    • DEBUG_TIME

      public static final Event DEBUG_TIME
      The time.
    • DEBUG_VRAM

      public static final Event DEBUG_VRAM
      Contains the used graphics memory and total graphics memory in bytes.
    • DEBUG_THREADS

      public static final Event DEBUG_THREADS
      Contains the number of running background threads, and the total number of threads in the pool.
    • DEBUG_DYN_RES

      public static final Event DEBUG_DYN_RES
      Contains the current dynamic resolution level and the corresponding back buffer scale
    • DISPLAY_GUI_CMD

      public static final Event DISPLAY_GUI_CMD
      Toggles whole GUI display. Contains the a boolean with the state (display/no display) and the localised name.
    • DISPLAY_MEM_INFO_WINDOW

      public static final Event DISPLAY_MEM_INFO_WINDOW
    • CLOSE_ALL_GUI_WINDOWS_CMD

      public static final Event CLOSE_ALL_GUI_WINDOWS_CMD
      All open windows must be closed
    • UI_SCALE_FACTOR_CMD

      public static final Event UI_SCALE_FACTOR_CMD
      Change UI scale factor. Contains the new internal scale factor.
    • UI_SCALE_RECOMPUTE_CMD

      public static final Event UI_SCALE_RECOMPUTE_CMD
      Recomputes the UI scale from the given window height (optional, if not given it uses the current window height).
    • DISPLAY_POINTER_COORDS_CMD

      public static final Event DISPLAY_POINTER_COORDS_CMD
      Contains a boolean with the display status.
    • POINTER_GUIDES_CMD

      public static final Event POINTER_GUIDES_CMD
      Contains the state (boolean), the color (float[4]) and the line width (float).
    • DISPLAY_VR_CONTROLLER_HINT_CMD

      public static final Event DISPLAY_VR_CONTROLLER_HINT_CMD
      Displays VR Controller hints.
    • CONTROLLER_CONNECTED_INFO

      public static final Event CONTROLLER_CONNECTED_INFO
      A controller has been connected, contains the name.
    • CONTROLLER_DISCONNECTED_INFO

      public static final Event CONTROLLER_DISCONNECTED_INFO
      A controller has been disconnected, contains the name.
    • DISPLAY_VR_GUI_CMD

      public static final Event DISPLAY_VR_GUI_CMD
      Toggles VR GUI display. Contains a name and a boolean with the state.
    • DISPOSE

      public static final Event DISPOSE
      Dispose all resources, app is shutting down.
    • GPU_DISPOSE_PARTICLE_GROUP

      public static final Event GPU_DISPOSE_PARTICLE_GROUP
      Dispose the source GPU mesh.
    • GPU_DISPOSE_STAR_GROUP

      public static final Event GPU_DISPOSE_STAR_GROUP
      Dispose the source GPU mesh.
    • GPU_DISPOSE_VARIABLE_GROUP

      public static final Event GPU_DISPOSE_VARIABLE_GROUP
      Dispose the source GPU mesh.
    • GPU_DISPOSE_BILLBOARD_DATASET

      public static final Event GPU_DISPOSE_BILLBOARD_DATASET
      Dispose the source GPU mesh.
    • GPU_DISPOSE_VERTS_OBJECT

      public static final Event GPU_DISPOSE_VERTS_OBJECT
      Dispose the source GPU mesh. Mark a Verts entity (in source) for update with the given render group in [0].
    • GPU_DISPOSE_ORBITAL_ELEMENTS

      public static final Event GPU_DISPOSE_ORBITAL_ELEMENTS
      Dispose the source GPU mesh. Mark an OrbitElementsSet entity (in source) for update.
    • ELEVATION_MULTIPLIER_CMD

      public static final Event ELEVATION_MULTIPLIER_CMD
      Sets the elevation multiplier. Contains the new multiplier in [Constants.MIN_ELEVATION_MULT, Constants.MAX_ELEVATION_MULT].
    • ELEVATION_TYPE_CMD

      public static final Event ELEVATION_TYPE_CMD
      Sets the elevation type.
    • EVENT_TIME_FRAME_CMD

      public static final Event EVENT_TIME_FRAME_CMD
      Contains the new time frame object.
    • EXPOSURE_CMD

      public static final Event EXPOSURE_CMD
      Contains the exposure tone mapping level (float) in [0,n] (0 for disabled).
    • REPROJECTION_CMD

      public static final Event REPROJECTION_CMD
      Fisheye effect toggle. Contains a boolean with the state, and an integer with the mode.
    • BACKBUFFER_SCALE_CMD

      public static final Event BACKBUFFER_SCALE_CMD
      Sets the back-buffer scale. Contains the new scale as a float.
    • FLUSH_FRAMES

      public static final Event FLUSH_FRAMES
      Issues the command to flush the frame system.
    • FOCUS_CHANGED

      public static final Event FOCUS_CHANGED
      Informs that the focus has somehow changed and the GUI must be updated.
      1. the new focus object.
      2. boolean, Center focus. If true, the focus is centered on the view.
    • FOCUS_CHANGE_CMD

      public static final Event FOCUS_CHANGE_CMD
      FOCUS_MODE change command.
      1. the new focus object.
    • FOCUS_INFO_UPDATED

      public static final Event FOCUS_INFO_UPDATED
      Updates focus information.
      1. distance to camera.
      2. solid angle.
      3. right ascension [deg].
      4. declination [deg].
      5. distance to the Sun.
      6. absolute magnitude from camera.
      7. absolute magnitude from Earth.
    • FOCUS_LOCK_CMD

      public static final Event FOCUS_LOCK_CMD
      Contains the name, the boolean value.
    • FOCUS_NOT_AVAILABLE

      public static final Event FOCUS_NOT_AVAILABLE
      Informs that the given focus is not available anymore (not visible or unloaded).
    • FOV_CHANGED_CMD

      public static final Event FOV_CHANGED_CMD
      Contains the float with the new FOV value and an optional boolean to indicate whether to cap the value to 95 degrees or not.
    • FPS_INFO

      public static final Event FPS_INFO
      Frames per second info.
    • FREE_MODE_COORD_CMD

      public static final Event FREE_MODE_COORD_CMD
      Posts the coordinates of the free mode focus.
      1. ra [deg]
      2. dec [deg]
    • GAIA_POSITION

      public static final Event GAIA_POSITION
    • GAMMA_CMD

      public static final Event GAMMA_CMD
      Contains the gamma level (float) in [0,3].
    • GO_TO_OBJECT_CMD

      public static final Event GO_TO_OBJECT_CMD
      Executes the command to position the camera near the object in focus.
    • GO_HOME_INSTANT_CMD

      public static final Event GO_HOME_INSTANT_CMD
      Moves the camera instantly to the home object.
    • GRAVITATIONAL_LENSING_PARAMS

      public static final Event GRAVITATIONAL_LENSING_PARAMS
      Contains the x and the y in pixels of the position of the mass.
    • GRAV_WAVE_START

      public static final Event GRAV_WAVE_START
      Start gravitational wave. Contains on-screen position (x,y) of source as two integer parameters.
    • GRAV_WAVE_STOP

      public static final Event GRAV_WAVE_STOP
      Stops gravitational wave.
    • GUI_FOLD_CMD

      public static final Event GUI_FOLD_CMD
      Maximizes or minimizes the GUI window. Contains a boolean with the fold state (true - minimize, false - maximize).
    • GUI_MOVE_CMD

      public static final Event GUI_MOVE_CMD
      Moves the GUI window.
      1. x - X coordinate of the top-left corner, float in [0..1] from left to right.
      2. y - Y coordinate of top-left corner, float in [0..1] from bottom to top.
    • GUI_SCROLL_POSITION_CMD

      public static final Event GUI_SCROLL_POSITION_CMD
      Sets the vertical scroll position. Contains the scroll position in pixels.
    • HIDE_UNCERTAINTIES

      public static final Event HIDE_UNCERTAINTIES
      Hides all uncertainties.
    • HIGH_ACCURACY_CMD

      public static final Event HIGH_ACCURACY_CMD
      Issues the command to change the high accuracy setting. Contains a boolean with the setting.
    • HOME_CMD

      public static final Event HOME_CMD
      Runs the 'Go home' action.
    • HUE_CMD

      public static final Event HUE_CMD
      Contains the hue level (float) in [0,2].
    • INDEXOFREFRACTION_CMD

      public static final Event INDEXOFREFRACTION_CMD
      Sets the index of refraction of the celestial sphere when orthospheric view is on.
    • INITIALIZED_INFO

      public static final Event INITIALIZED_INFO
      Informs Gaia Sky is fully initialized and normal operation is about to start.
    • INPUT_ENABLED_CMD

      public static final Event INPUT_ENABLED_CMD
      Enables/disables input from mouse/keyboard/etc. Contains a boolean with the new state.
    • INPUT_EVENT

      public static final Event INPUT_EVENT
      Issued when an input event is received. It contains the key or button integer code (see Input).
    • JAVA_EXCEPTION

      public static final Event JAVA_EXCEPTION
      Notifies from a java exception, it sends the Throwable and an optional tag.
    • KEYFRAMES_EXPORT

      public static final Event KEYFRAMES_EXPORT
      Exports the given array of keyframes to a camera path file.
    • KEYFRAMES_FILE_SAVE

      public static final Event KEYFRAMES_FILE_SAVE
      Saves the given array of keyframes to a keyframes file.
    • KEYFRAMES_REFRESH

      public static final Event KEYFRAMES_REFRESH
      Refreshes the keyframes from the model.
    • KEYFRAME_ADD

      public static final Event KEYFRAME_ADD
      Add new keyframe at the end with the current camera settings.
    • KEYFRAME_SELECT

      public static final Event KEYFRAME_SELECT
      The given keyframe has been selected.
    • KEYFRAME_UNSELECT

      public static final Event KEYFRAME_UNSELECT
      The given keyframe is no longer selected.
    • KEYFRAME_PLAY_FRAME

      public static final Event KEYFRAME_PLAY_FRAME
      Orders the keyframe manager to set the current frame to the given frame number (if source is not the manager). Informs that a new step has been taken in the keyframe playing mode (if source is the manager). Contains a long integer with the frame index in the whole sequence (not the keyframe!).
    • KEY_DOWN

      public static final Event KEY_DOWN
    • KEY_UP

      public static final Event KEY_UP
    • LABEL_SIZE_CMD

      public static final Event LABEL_SIZE_CMD
      Set label size. Contains the new label size.
    • LINE_WIDTH_CMD

      public static final Event LINE_WIDTH_CMD
      Line width factor. Contains the new factor.
    • LAND_AT_LOCATION_OF_OBJECT

      public static final Event LAND_AT_LOCATION_OF_OBJECT
      Lands at a certain location on a planet object.
    • LAND_ON_OBJECT

      public static final Event LAND_ON_OBJECT
      Lands on a planet object.
    • LENS_FLARE_CMD

      public static final Event LENS_FLARE_CMD
      Activate/deactivate lens flare. Contains a float with the new strength value (0 to disable effect).
    • LIGHT_POS_2D_UPDATE

      public static final Event LIGHT_POS_2D_UPDATE
      Contains an int with the number of lights and a float[] with [x, y] of the 10 closest stars in screen coordinates in [0,1].
    • LIGHT_GLOW_CMD

      public static final Event LIGHT_GLOW_CMD
      Activate/deactivate the light scattering. Contains boolean with state.
    • LINE_RENDERER_UPDATE

      public static final Event LINE_RENDERER_UPDATE
      Issues the command to update the line render system. Contains no parameters.
    • LOAD_DATA_CMD

      public static final Event LOAD_DATA_CMD
      Dataset has been chosen, loading can start.
    • LON_LAT_UPDATED

      public static final Event LON_LAT_UPDATED
      Contains two Double values, the longitude and latitude in degrees.
    • MODE_POPUP_CMD

      public static final Event MODE_POPUP_CMD
      Opens a new popup window with information on the new mode. Contains a ModePopupInfo object (null to remove), a name and the number of seconds until the popup disappears.
    • MOTION_BLUR_CMD

      public static final Event MOTION_BLUR_CMD
      Contains the opacity of motion blur in [0,1].
    • SSR_CMD

      public static final Event SSR_CMD
      Enables/disables screen-space reflections. Contains the boolean state.
    • MOUSE_CAPTURE_CMD

      public static final Event MOUSE_CAPTURE_CMD
      True to capture the mouse, false to un-capture.
    • MOUSE_CAPTURE_TOGGLE

      public static final Event MOUSE_CAPTURE_TOGGLE
      Toggle mouse capture.
    • MUSIC_NEXT_CMD

      public static final Event MUSIC_NEXT_CMD
      Plays next music.
    • MUSIC_PLAYPAUSE_CMD

      public static final Event MUSIC_PLAYPAUSE_CMD
      Toggles the play.
    • MUSIC_PREVIOUS_CMD

      public static final Event MUSIC_PREVIOUS_CMD
      Plays previous music.
    • MUSIC_RELOAD_CMD

      public static final Event MUSIC_RELOAD_CMD
      Reload music files.
    • MUSIC_TRACK_INFO

      public static final Event MUSIC_TRACK_INFO
      Info about current track.
    • MUSIC_VOLUME_CMD

      public static final Event MUSIC_VOLUME_CMD
      Volume of music, contains the volume (float in [0..1]).
    • OCTREE_DISPOSED

      public static final Event OCTREE_DISPOSED
      Informs the octree has been disposed.
    • OCTREE_PARTICLE_FADE_CMD

      public static final Event OCTREE_PARTICLE_FADE_CMD
      Toggles the fading of particles in the octree. Contains a boolean with the state of the flag.
    • ORBIT_DATA_LOADED

      public static final Event ORBIT_DATA_LOADED
      Passes the OrbitData and the file name.
    • ORBIT_SOLID_ANGLE_TH_CMD

      public static final Event ORBIT_SOLID_ANGLE_TH_CMD
      Sets the solid angle threshold for orbits and trajectories.
    • ORBIT_REFRESH_CMD

      public static final Event ORBIT_REFRESH_CMD
      Refresh orbit command. Contains the focus view.
    • ORIENTATION_LOCK_CMD

      public static final Event ORIENTATION_LOCK_CMD
      Contains the name, the lock orientation boolean value.
    • PARK_RUNNABLE

      public static final Event PARK_RUNNABLE
      Posts scene update runnable that runs after the update-scene stage and before the render stage. Contains an identifier (String) and the runnable object.
    • PARK_CAMERA_RUNNABLE

      public static final Event PARK_CAMERA_RUNNABLE
      Posts camera update runnable that runs after the update-camera stage and before the update-scene stage. Contains an identifier (String) and the runnable object.
    • PAUSE_BACKGROUND_LOADING

      public static final Event PAUSE_BACKGROUND_LOADING
      Pauses background data loading thread, if any.
    • PLANETARIUM_APERTURE_CMD

      public static final Event PLANETARIUM_APERTURE_CMD
      Sets the aperture angle [deg] of the planetarium in cubemap mode.
    • PLANETARIUM_ANGLE_CMD

      public static final Event PLANETARIUM_ANGLE_CMD
      Sets the planetarium angle [deg], an angle from the zenith to put the focus on in planetarium mode.
    • PLANETARIUM_PROJECTION_CMD

      public static final Event PLANETARIUM_PROJECTION_CMD
      Sets the planetarium projection. Contains the CubmeapProjectionEffect.CubemapProjection object, which needs to evaluate isPlanetarium() to true.
    • PLANETARIUM_GEOMETRYWARP_FILE_CMD

      public static final Event PLANETARIUM_GEOMETRYWARP_FILE_CMD
      A new geometry warp file has been selected. Contains the path to the file.
    • PLAY_CAMERA_CMD

      public static final Event PLAY_CAMERA_CMD
      Command to play and stop the camcorder. Contains a boolean with the state (true: start, false: stop), and the path to the file to play if the first object is true.
    • PM_ARROWHEADS_CMD

      public static final Event PM_ARROWHEADS_CMD
      Show or hide arrow caps. Contains boolean with state.
    • PM_COLOR_MODE_CMD

      public static final Event PM_COLOR_MODE_CMD
      Contains the mode. Modes:
      1. direction
      2. length
      3. has radial velocity: blue=stars with RV, red=stars without RV
      4. redshift (sun): blue=-50 Km/s, red=50 Kms/s
      5. redshift (camera): blue=-50 Km/s, red=50 Kms/s
      6. unique color
    • PM_LEN_FACTOR_CMD

      public static final Event PM_LEN_FACTOR_CMD
      Contains the length factor for pm vectors.
    • PM_NUM_FACTOR_CMD

      public static final Event PM_NUM_FACTOR_CMD
      Contains the number factor for pm vectors.
    • CONTEXT_MENU_CMD

      public static final Event CONTEXT_MENU_CMD
      Will show a popup menu for a focus candidate. Contains the candidate and the screenX and screenY coordinates of the click.
    • POST_HEADLINE_MESSAGE

      public static final Event POST_HEADLINE_MESSAGE
      Contains a string with the headline message, will be displayed in a big font in the center of the screen.
    • POST_NOTIFICATION

      public static final Event POST_NOTIFICATION
      Post a new notification that is to be displayed in the notifications area at the bottom left. Contains the notification level (same as log level: ERROR, WARN, INFO, DEBUG) and an array of strings with the messages plus an optional boolean indicating whether the message is permanent so should stay until the next message is received. The notifications sent via this event are logged in the system log and made permanent when the program closes.
    • POST_POPUP_NOTIFICATION

      public static final Event POST_POPUP_NOTIFICATION
      Post a notification that is to be displayed with a screen pop-up. Contains the string message and an optional float duration, in seconds. The notifications sent via this event are not logged.
    • POST_SUBHEAD_MESSAGE

      public static final Event POST_SUBHEAD_MESSAGE
      Contains a string with the subhead message, will be displayed in a small font below the headline message.
    • PROPERTIES_WRITTEN

      public static final Event PROPERTIES_WRITTEN
      Sent when the properties in GlobalConf have been modified, usually after a configuration dialog. Contains no data.
    • RA_DEC_UPDATED

      public static final Event RA_DEC_UPDATED
      Updates the position of the pointer and the view in equatorial coordinates.
      1. pointer ra [deg]
      2. pointer dec [deg]
      3. view ra [deg]
      4. view dec [deg]
      5. pointer x [pixels]
      6. pointer y [pixels]
    • REBUILD_SHADOW_MAP_DATA_CMD

      public static final Event REBUILD_SHADOW_MAP_DATA_CMD
      Event to update the shadow map metadata.
    • ECLIPSES_CMD

      public static final Event ECLIPSES_CMD
      Eclipses have been toggled. Contains a boolean with the new state.
    • RECALCULATE_CONTROLS_WINDOW_SIZE

      public static final Event RECALCULATE_CONTROLS_WINDOW_SIZE
      Forces recalculation of main controls window size.
    • RECORD_CAMERA_CMD

      public static final Event RECORD_CAMERA_CMD
      Issues the command to enable camera recording. Contains the boolean indicating the state (start/finish) and a file name (null for auto-generated) if starting, or a boolean indicating whether to show the file name picker window if finishing.
    • CAMRECORDER_FPS_CMD

      public static final Event CAMRECORDER_FPS_CMD
      Sets the target frame rate for the camera recorder. Contains a double with the frame rate.
    • RELOAD_CONTROLLER_MAPPINGS

      public static final Event RELOAD_CONTROLLER_MAPPINGS
      Reloads the inputListener mappings. Contains the path to the new mappings file.
    • REMOVE_ALL_OBJECTS

      public static final Event REMOVE_ALL_OBJECTS
      Removes all the custom objects.
    • REMOVE_GUI_COMPONENT_CMD

      public static final Event REMOVE_GUI_COMPONENT_CMD
      Removes the GUI component identified by the given name.
    • REMOVE_KEYBOARD_FOCUS_CMD

      public static final Event REMOVE_KEYBOARD_FOCUS_CMD
      Removes the keyboard focus in the GUI.
    • CLEAN_PRESSED_KEYS

      public static final Event CLEAN_PRESSED_KEYS
      Issues the command to clean pressed keys in KebyoardInputController.
    • REMOVE_OBJECTS

      public static final Event REMOVE_OBJECTS
      Removes a previously added message or image. Contains the id.
    • RENDER_FRAME

      public static final Event RENDER_FRAME
      Issues the command to render a frame.
    • RENDER_FRAME_BUFFER

      public static final Event RENDER_FRAME_BUFFER
      Issues the command to render the current frame buffer with a given folder, file (without filename), width and height.
    • RESUME_BACKGROUND_LOADING

      public static final Event RESUME_BACKGROUND_LOADING
      Resumes background data loading thread, if it exists and it is paused.
    • CLEAR_OCTANT_QUEUE

      public static final Event CLEAR_OCTANT_QUEUE
      Clears the octant loading queues.
    • ROTATION_SPEED_CMD

      public static final Event ROTATION_SPEED_CMD
      Contains the new camera rotation speed.
    • RULER_ATTACH_0

      public static final Event RULER_ATTACH_0
      Attach object to first end of ruler. Contains object name.
    • RULER_ATTACH_1

      public static final Event RULER_ATTACH_1
      Attach object to second end of ruler. Contains object name.
    • RULER_CLEAR

      public static final Event RULER_CLEAR
      Clear all objects from ruler.
    • RULER_DIST

      public static final Event RULER_DIST
      Notifies new distances for the ruler. Contains a double with the distance in internal units and a formatted string.
    • RAYMARCHING_CMD

      public static final Event RAYMARCHING_CMD
      Submits a register/unregister command for a ray marching shader. Contains the name, the status (true/false), the position and optionally the path to the shader (for creating) and the additional values.
      1. name [string]
      2. status [boolean]
      3. entity [Entity]
      4. shader [string] - optional, only at creation
      5. additional [float4] - optional, only at creation
    • RAYMARCHING_ADDITIONAL_CMD

      public static final Event RAYMARCHING_ADDITIONAL_CMD
      Push new additional data to ray marching shader. Contains the name and the additional vector.
      1. name [string]
      2. additional[float4]
    • SAMP_INFO

      public static final Event SAMP_INFO
      SAMP information
    • SATURATION_CMD

      public static final Event SATURATION_CMD
      Contains the saturation level (float) in [0,2].
    • SCENE_FORCE_UPDATE

      public static final Event SCENE_FORCE_UPDATE
      Forces a scene update.
    • SCENE_ADD_OBJECT_CMD

      public static final Event SCENE_ADD_OBJECT_CMD
      Sends an object to be added to the scene. Contains the object and an optional Boolean indicating whether to add the object to the scene index. Defaults to true.
    • SCENE_ADD_OBJECT_NO_POST_CMD

      public static final Event SCENE_ADD_OBJECT_NO_POST_CMD
      Sends an object to be added to a scene, without using a post runnable. Contains the object and an optional Boolean indicating whether to add the object to the scene index. Defaults to true.
    • SCENE_LOADED

      public static final Event SCENE_LOADED
      Informs the scene has been loaded. Program can start.
    • SCENE_REMOVE_OBJECT_CMD

      public static final Event SCENE_REMOVE_OBJECT_CMD
      Removes an object from the scene. Contains the name of the object or the object itself plus and optional Boolean indicating whether to remove it from the index. Defaults to true.
    • SCENE_REMOVE_OBJECT_NO_POST_CMD

      public static final Event SCENE_REMOVE_OBJECT_NO_POST_CMD
      Removes an object from the scene without using a post runnable. Contains the name of the object or the object itself plus and optional Boolean indicating whether to remove it from the index. Defaults to true.
    • SCENE_RELOAD_NAMES_CMD

      public static final Event SCENE_RELOAD_NAMES_CMD
      Recomputes the names of the scene entities with the current locale.
    • SCREENSHOT_CMD

      public static final Event SCREENSHOT_CMD
      Takes a screenshot. contains the width, height (integers) and the folder name and filename (strings).
    • CONFIG_SCREENSHOT_CMD

      public static final Event CONFIG_SCREENSHOT_CMD
      Configures the screenshots. Contains the width, height (integers) and the folder name and filename (strings).
    • SCREENSHOT_MODE_CMD

      public static final Event SCREENSHOT_MODE_CMD
      Sets the screenshot mode, either SIMPLE or ADVANCED. Gets a string or a Settings.ScreenshotSettings object.
    • SCREENSHOT_INFO

      public static final Event SCREENSHOT_INFO
      Contains the path where the screenshot has been saved.
    • SCREENSHOT_SIZE_UPDATE

      public static final Event SCREENSHOT_SIZE_UPDATE
      Informs of the new size of the screenshot system.
    • SCREENSHOT_CUBEMAP_CMD

      public static final Event SCREENSHOT_CUBEMAP_CMD
      Save the faces of the current cubemap to disk as image files. This only works when any of the cubemap modes is active. Contains the output directory name as a string.
    • FRAME_OUTPUT_CMD

      public static final Event FRAME_OUTPUT_CMD
      Issues the frame output command. Contains a boolean with the state.
    • FRAME_OUTPUT_MODE_CMD

      public static final Event FRAME_OUTPUT_MODE_CMD
      Sets the frame output mode, either SIMPLE or ADVANCED. Gets a string or a Settings.ScreenshotSettings object.
    • CONFIG_FRAME_OUTPUT_CMD

      public static final Event CONFIG_FRAME_OUTPUT_CMD
      Configures the render system. Contains width, height, FPS, folder and file.
    • FRAME_SIZE_UPDATE

      public static final Event FRAME_SIZE_UPDATE
      Informs of the new size of the frame output system.
    • SCREEN_MODE_CMD

      public static final Event SCREEN_MODE_CMD
      Updates the screen mode according to what is in the Settings.graphics bean.
    • SCREEN_NOTIFICATION_CMD

      public static final Event SCREEN_NOTIFICATION_CMD
      Adds a screen notification which lasts for a little while. It contains a title string, an array of string messages and a float with the time in seconds.
    • SCROLLED

      public static final Event SCROLLED
    • SHOW_ABOUT_ACTION

      public static final Event SHOW_ABOUT_ACTION
    • SHOW_DATE_TIME_EDIT_ACTION

      public static final Event SHOW_DATE_TIME_EDIT_ACTION
      Brings up the date/time edit window.
    • SHOW_VR_UI

      public static final Event SHOW_VR_UI
      Brings up the VR user interface.
    • VR_CONTROLLER_INFO

      public static final Event VR_CONTROLLER_INFO
      Broadcasts a new VR controller which has just been initialized.
    • VR_DRIVER_LOADED

      public static final Event VR_DRIVER_LOADED
      Broadcasts the newly created OpenXR driver.
    • SHOW_SLAVE_CONFIG_ACTION

      public static final Event SHOW_SLAVE_CONFIG_ACTION
      Shows the slave configuration window
    • SLAVE_CONNECTION_EVENT

      public static final Event SLAVE_CONNECTION_EVENT
      Slave connection event. Contains slave index, url and a boolean with the state (true-connected, false-disconnected).
    • SHOW_DEBUG_CMD

      public static final Event SHOW_DEBUG_CMD
      Contains an optional boolean indicating whether debug info should be shown or not. Otherwise, it toggles its state.
    • SHOW_KEYFRAMES_WINDOW_ACTION

      public static final Event SHOW_KEYFRAMES_WINDOW_ACTION
    • SHOW_TEXTURE_WINDOW_ACTION

      public static final Event SHOW_TEXTURE_WINDOW_ACTION
      Creates and shows a new texture window with the contents of a texture or frame buffer.
      1. window title [string]
      2. frame buffer or texture object [FrameBuffer|Texture]
      3. (optional) scale [float]
      4. (optional) flipX [boolean]
      5. (optional) flipY [boolean]
    • SHOW_LAND_AT_LOCATION_CMD

      public static final Event SHOW_LAND_AT_LOCATION_CMD
    • SHOW_LOAD_CATALOG_ACTION

      public static final Event SHOW_LOAD_CATALOG_ACTION
    • SHOW_LOG_CMD

      public static final Event SHOW_LOG_CMD
    • SHOW_PROCEDURAL_GEN_CMD

      public static final Event SHOW_PROCEDURAL_GEN_CMD
      Procedural surface and atmosphere generation.
    • MINIMAP_DISPLAY_CMD

      public static final Event MINIMAP_DISPLAY_CMD
      Shows the minimap window/interface. Contains a boolean with the state.
    • SHOW_PLAYCAMERA_CMD

      public static final Event SHOW_PLAYCAMERA_CMD
      Shows the camera path file selector, contains the stage and the skin.
    • SHOW_PREFERENCES_ACTION

      public static final Event SHOW_PREFERENCES_ACTION
    • SHOW_PER_OBJECT_VISIBILITY_ACTION

      public static final Event SHOW_PER_OBJECT_VISIBILITY_ACTION
    • PER_OBJECT_VISIBILITY_CMD

      public static final Event PER_OBJECT_VISIBILITY_CMD
      Contains the object (instance of IVisibilitySwitch), the name of the object and a boolean with the new visibility state.
    • FORCE_OBJECT_LABEL_CMD

      public static final Event FORCE_OBJECT_LABEL_CMD
      Sets the force label flag on the given object which causes the label to always be rendered regardless of the solid angle. Contains the entity, the name of the object, a boolean with the new force label state, and the source object.
    • LABEL_COLOR_CMD

      public static final Event LABEL_COLOR_CMD
      Sets the label color for a given object. Contains the entity, the name of the object, the new color as a float array (RGBA) in [0,1], and the source object.
    • SHOW_QUIT_ACTION

      public static final Event SHOW_QUIT_ACTION
      Quit action, can contain optional Runnable to run on accept().
    • SHOW_SEARCH_ACTION

      public static final Event SHOW_SEARCH_ACTION
    • SHOW_DATA_INFO_CMD

      public static final Event SHOW_DATA_INFO_CMD
      Shows a window with a summary of the search object in the data (string) as taken from the wikipedia API (if found), plus the actual data of the object in memory. Contains the FocusView object.
    • UPDATE_DATA_INFO_CMD

      public static final Event UPDATE_DATA_INFO_CMD
      Updates the data window. Contains the FocusView object.
    • SHOW_ARCHIVE_VIEW_CMD

      public static final Event SHOW_ARCHIVE_VIEW_CMD
      Shows a window with the Gaia or Hipparcos archive info for the object in the data, which must be a FocusView.
    • UPDATE_ARCHIVE_VIEW_CMD

      public static final Event UPDATE_ARCHIVE_VIEW_CMD
      Updates the archive view if it is open.
    • SHOW_UNCERTAINTIES

      public static final Event SHOW_UNCERTAINTIES
      Show uncertainties for Tycho star, if available. Contains the star.
    • SPACECRAFT_INFO

      public static final Event SPACECRAFT_INFO
      Contains following info:
      1. current speed [u/s]
      2. current yaw angle [deg]
      3. current pitch angle [deg]
      4. current roll angle [deg]
      5. thrust factor
      6. engine power [-1..1]
      7. yaw power [-1..1]
      8. pitch power [-1..1]
      9. roll power [-1..1]
    • SPACECRAFT_LOADED

      public static final Event SPACECRAFT_LOADED
      Contains the spacecraft object after it has been loaded.
    • SPACECRAFT_NEAREST_INFO

      public static final Event SPACECRAFT_NEAREST_INFO
      Contains following info about the nearest object:
      1. nearest object name
      2. distance to nearest object [u]
    • SPACECRAFT_STABILISE_CMD

      public static final Event SPACECRAFT_STABILISE_CMD
      Level spacecraft command, contains boolean with state.
    • SPACECRAFT_STOP_CMD

      public static final Event SPACECRAFT_STOP_CMD
      Stop spacecraft, contains boolean with state.
    • SPACECRAFT_THRUST_DECREASE_CMD

      public static final Event SPACECRAFT_THRUST_DECREASE_CMD
      Decreases thrust.
    • SPACECRAFT_THRUST_INCREASE_CMD

      public static final Event SPACECRAFT_THRUST_INCREASE_CMD
      Increases thrust.
    • SPACECRAFT_THRUST_INFO

      public static final Event SPACECRAFT_THRUST_INFO
      Broadcasts the new thrust index.
    • SPACECRAFT_THRUST_SET_CMD

      public static final Event SPACECRAFT_THRUST_SET_CMD
      Contains the integer index of the new thrust.
    • SPACECRAFT_MACHINE_SELECTION_CMD

      public static final Event SPACECRAFT_MACHINE_SELECTION_CMD
      Use new machine. Contains the integer index of the new machine.
    • SPACECRAFT_MACHINE_SELECTION_INFO

      public static final Event SPACECRAFT_MACHINE_SELECTION_INFO
      Informs a new machine is in place. Contains the machine.
    • SPEED_LIMIT_CMD

      public static final Event SPEED_LIMIT_CMD
      Contains the speed limit index as in:
      1. 100 km/h
      2. 0.5 * c
      3. 0.8 * c
      4. 0.9 * c
      5. 0.99 * c
      6. 0.99999 * c
      7. c (3e8 m/s)
      8. 2*c
      9. 10*c
      10. 1000*c
      11. 1 AU/s
      12. 10 AU/s
      13. 1000 AU/s
      14. 10000 AU/s
      15. 1 pc/s
      16. 2 pc/s
      17. 10 pc/s
      18. 1000 pc/s
      19. No limit
    • RESET_VISUAL_SETTINGS_DEFAULTS

      public static final Event RESET_VISUAL_SETTINGS_DEFAULTS
      Reset the default visual settings in Gaia Sky.
    • STAR_BRIGHTNESS_CMD

      public static final Event STAR_BRIGHTNESS_CMD
      Contains the star brightness multiplier.
    • STAR_BRIGHTNESS_POW_CMD

      public static final Event STAR_BRIGHTNESS_POW_CMD
      Contains the star brightness power.
    • STAR_GLOW_FACTOR_CMD

      public static final Event STAR_GLOW_FACTOR_CMD
      Contains the star glow factor.
    • STAR_BASE_LEVEL_CMD

      public static final Event STAR_BASE_LEVEL_CMD
      Minimum star opacity. Contains the opacity in [0,1].
    • STAR_POINT_SIZE_CMD

      public static final Event STAR_POINT_SIZE_CMD
      Set a new value for the star point size.
    • STAR_POINT_SIZE_DECREASE_CMD

      public static final Event STAR_POINT_SIZE_DECREASE_CMD
      Decrease star point size by Constants.SLIDER_STEP_TINY
    • STAR_POINT_SIZE_INCREASE_CMD

      public static final Event STAR_POINT_SIZE_INCREASE_CMD
      Increase star point size by Constants.SLIDER_STEP_TINY
    • STAR_POINT_SIZE_RESET_CMD

      public static final Event STAR_POINT_SIZE_RESET_CMD
      Reset star point size to original value
    • STAR_GROUP_NEAREST_CMD

      public static final Event STAR_GROUP_NEAREST_CMD
      Update the number of nearest stars in star groups. This updates the maximum number of billboards, labels and velocity vectors per star group.
    • STAR_GROUP_BILLBOARD_CMD

      public static final Event STAR_GROUP_BILLBOARD_CMD
      Set the flag to render stars as billboards or not.
    • BILLBOARD_TEXTURE_IDX_CMD

      public static final Event BILLBOARD_TEXTURE_IDX_CMD
      Set the global texture index for billboards rendered in RenderGroup.BILLBOARD_STAR.
    • STEREOSCOPIC_CMD

      public static final Event STEREOSCOPIC_CMD
      Stereoscopic vision, side by side rendering. Contains the state boolean.
    • STEREO_PROFILE_CMD

      public static final Event STEREO_PROFILE_CMD
      Switches stereoscopic profile, contains the index of the new profile.
    • TARGET_TIME_CMD

      public static final Event TARGET_TIME_CMD
      Sets and unsets the target time. Contains a time (set), or nothing (unset)
    • TESSELLATION_QUALITY_CMD

      public static final Event TESSELLATION_QUALITY_CMD
      Sets the tessellation quality. Contains the new quality in [Constants.MIN_TESS_QUALITY, Constants.MAX_TESS_QUALITY]
    • TIME_CHANGE_CMD

      public static final Event TIME_CHANGE_CMD
      Issues a change time command, contains the Instant object with the new time.
    • TIME_CHANGE_INFO

      public static final Event TIME_CHANGE_INFO
      Notifies of a change in the time, contains the Instant object
    • TIME_STATE_CMD

      public static final Event TIME_STATE_CMD
      Issues the command to toggle the time. Contains the boolean indicating the state (may be null).
    • TIME_WARP_DECREASE_CMD

      public static final Event TIME_WARP_DECREASE_CMD
      Divide the pace by 2.
    • TIME_WARP_INCREASE_CMD

      public static final Event TIME_WARP_INCREASE_CMD
      Double the pace.
    • TIME_WARP_CMD

      public static final Event TIME_WARP_CMD
      Contains a double with the new warp value.
    • TIME_WARP_CHANGED_INFO

      public static final Event TIME_WARP_CHANGED_INFO
      Contains the new time warp factor
    • TOGGLE_EXPANDCOLLAPSE_PANE_CMD

      public static final Event TOGGLE_EXPANDCOLLAPSE_PANE_CMD
      Toggles the collapsed state of a GUI pane. Contains its name.
    • EXPAND_COLLAPSE_PANE_CMD

      public static final Event EXPAND_COLLAPSE_PANE_CMD
      Expands or collapses a GUI pane. Contains its name and the boolean with the state (True: expand, False: collapse).
    • MINIMAP_TOGGLE_CMD

      public static final Event MINIMAP_TOGGLE_CMD
      Toggles minimap visibility
    • TOGGLE_UPDATEPAUSE

      public static final Event TOGGLE_UPDATEPAUSE
      Toggles the pause of the update process. Contains the localised name.
    • TOGGLE_VISIBILITY_CMD

      public static final Event TOGGLE_VISIBILITY_CMD
      Toggle the visibility of a component type. Contains the name of the type and a boolean with the state (on/off).
    • UPDATE_LOAD_PROGRESS

      public static final Event UPDATE_LOAD_PROGRESS
      Updates the progress bar with the given name. Contains the progress bar name and a float value in (0,1) The progress bar is removed when the value is >= 1, and it is created if the name does not exist and the current number of progress bars is below the maximum.
    • TONEMAPPING_TYPE_CMD

      public static final Event TONEMAPPING_TYPE_CMD
      Contains the tone mapping type as an Settings.ToneMapping or a string in [AUTO|EXPOSURE|NONE].
    • TOUCH_DOWN

      public static final Event TOUCH_DOWN
    • TOUCH_DRAGGED

      public static final Event TOUCH_DRAGGED
    • TOUCH_UP

      public static final Event TOUCH_UP
    • TURNING_SPEED_CMD

      public static final Event TURNING_SPEED_CMD
      Contains the new turning speed.
    • UI_RELOAD_CMD

      public static final Event UI_RELOAD_CMD
      Issues the command to reload the UI, contains the GlobalResources instance.
    • SHOW_RESTART_ACTION

      public static final Event SHOW_RESTART_ACTION
      Displays a dialog to restart. Contains the text, or nothing.
    • UI_THEME_RELOAD_INFO

      public static final Event UI_THEME_RELOAD_INFO
      Informs the UI theme has been reloaded. Contains the new skin.
    • UNPARK_RUNNABLE

      public static final Event UNPARK_RUNNABLE
      Un-parks a runnable. Contains the identifier (String)
    • UPDATEPAUSE_CHANGED

      public static final Event UPDATEPAUSE_CHANGED
      Contains the new value
    • UPDATE_CAM_RECORDER

      public static final Event UPDATE_CAM_RECORDER
      Updates the camera recorder. Contains dt (float), position (vector3d), direction (vector3d) and up (vector3d)
    • UPDATE_GUI

      public static final Event UPDATE_GUI
      Update external GUIs signal. Contains the dt in seconds.
    • CLEAR_SHADERS

      public static final Event CLEAR_SHADERS
      Clears all cached shaders.
    • RESET_RENDERER

      public static final Event RESET_RENDERER
      Resets the main renderer.
    • VISIBILITY_OF_COMPONENTS

      public static final Event VISIBILITY_OF_COMPONENTS
      Contains an array of booleans with the visibility of each ComponentType, in the same order returned by ComponentType.values()
    • VR_DEVICE_CONNECTED

      public static final Event VR_DEVICE_CONNECTED
      New VR device connected. Contains the VRDevice object.
    • VR_DEVICE_DISCONNECTED

      public static final Event VR_DEVICE_DISCONNECTED
      VR device disconnected. Contains the VRDevice object.
    • VR_SELECTING_STATE

      public static final Event VR_SELECTING_STATE
      Informs of the current selecting state. Contains the state (true|false) and a double in [0,1] with the completion rate
    • SHOW_CONTROLLER_GUI_ACTION

      public static final Event SHOW_CONTROLLER_GUI_ACTION
      Show/hide controller GUI
    • INVERT_X_CMD

      public static final Event INVERT_X_CMD
    • INVERT_Y_CMD

      public static final Event INVERT_Y_CMD
    • NEW_DISTANCE_SCALE_FACTOR

      public static final Event NEW_DISTANCE_SCALE_FACTOR
      This event informs a new DISTANCE_SCALE_FACTOR is in place
    • NEW_LOCATION_RECORD

      public static final Event NEW_LOCATION_RECORD
      Broadcast a new location record, added to the location log
    • CONSTELLATION_UPDATE_CMD

      public static final Event CONSTELLATION_UPDATE_CMD
      Command to update constellations. Contains the scene object.
    • LOCATION_HOVER_INFO

      public static final Event LOCATION_HOVER_INFO
      Informs that the mouse is hovering over the given location. Contains the coordinates [x, y], the name of the location and its description.
    • PROCEDURAL_GENERATION_SURFACE_INFO

      public static final Event PROCEDURAL_GENERATION_SURFACE_INFO
      Informs of the material generation, contains a boolean (start, finish)
    • PROCEDURAL_GENERATION_CLOUD_INFO

      public static final Event PROCEDURAL_GENERATION_CLOUD_INFO
      Informs of the cloud generation, contains a boolean (start, finish)
    • DATASET_DOWNLOAD_START_INFO

      public static final Event DATASET_DOWNLOAD_START_INFO
      Signals the start of a dataset download. Contains the dataset key (String) and the HttpRequest object.
    • DATASET_DOWNLOAD_PROGRESS_INFO

      public static final Event DATASET_DOWNLOAD_PROGRESS_INFO
      Informs of the progress of a current download. Contains the dataset key (String), the progress value (float), the progress status with the percentage (String) and the speed (String)
    • DATASET_DOWNLOAD_FINISH_INFO

      public static final Event DATASET_DOWNLOAD_FINISH_INFO
      Informs that the download has finished. Contains the dataset key (String) and the status:
      1. ok.
      2. error.
      3. cancelled.
      4. not found.
    • SVT_MATERIAL_INFO

      public static final Event SVT_MATERIAL_INFO
      Broadcasts material component [1] which has at least one sparse virtual texture, and the sparse virtual texture ID for that material [0].
    • SVT_CACHE_SIZE_CMD

      public static final Event SVT_CACHE_SIZE_CMD
      Set cache size
    • UPSCALE_FILTER_CMD

      public static final Event UPSCALE_FILTER_CMD
      Set the new upscale filter. Contains the new Settings.UpscaleFilter object.
  • Method Details

    • values

      public static Event[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Event valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null