Index
All Classes|All Packages
S
- scale(float) - Method in class org.xjge.graphics.Model
-
Scales the entire 3D model by the factor specified.
- Scene - Class in org.xjge.core
-
A 3D representation of the game world that contains entities, light sources, and camera objects.
- Scene(String) - Constructor for class org.xjge.core.Scene
-
Creates a new 3D scene that will contain entities, light sources, and camera objects.
- setAnimationFrameTime(float) - Method in class org.xjge.graphics.Model
-
Sets the time elapsed between the current
KeyFrame
and the next one in sequence. - setAnimationSeekTime(float) - Method in class org.xjge.graphics.Model
-
Sets the current seek time of the animation.
- setAnimationSpeed(float) - Method in class org.xjge.graphics.Model
-
Sets the playback speed of this models current animation.
- setBloomThreshold(float) - Static method in class org.xjge.core.Game
-
Specifies the value which will be used to indicate how bright the surface of objects must be before the bloom effect is applied to it.
- setClearColor(Color) - Static method in class org.xjge.core.Game
-
Changes the color OpenGL will use to clear color buffers.
- setCurrentAnimation(String, int) - Method in class org.xjge.graphics.Model
-
Sets the current animation that will be played by this model.
- setDeviceControls(int, Map<Control, Integer>) - Static method in class org.xjge.core.Input
-
Sets the current control configuration of an input device.
- setDeviceEnabled(int, boolean) - Static method in class org.xjge.core.Input
-
Sets the current enabled state of an input device.
- setDevicePuppet(int, Puppet) - Static method in class org.xjge.core.Input
-
Sets the current puppet object an input device will control.
- setDeviceSetting(int, String, float) - Static method in class org.xjge.core.Input
-
Changes the setting value of the specified input device.
- setDimensions(int, int) - Static method in class org.xjge.core.Window
-
Sets the size of the windows content area in pixels.
- setDomain(String) - Static method in class org.xjge.core.Logger
-
Appends the name of a module to the log message following the priority indicator (INFO, WARNING, etc).
- setFullscreen(boolean) - Static method in class org.xjge.core.Window
-
Changes the game window between fullscreen and windowed modes.
- setIcon(String) - Static method in class org.xjge.core.Window
-
Sets the icon image of the window.
- setInputMode(int, int) - Static method in class org.xjge.core.Window
-
Sets the value of an input option used by the game window.
- setKeyMouseAxisValues(int, int, int, int) - Static method in class org.xjge.core.Input
-
Sets the GLFW keys the keyboard will use to mimic the action of an analog stick.
- setLightDirection(float, float, float) - Method in class org.xjge.core.ShadowMap
-
Sets the direction the world light will point towards.
- setMonitor(String) - Static method in class org.xjge.core.Window
-
Changes the current monitor the window will use.
- setMonitor(Monitor) - Static method in class org.xjge.core.Window
-
Changes the current monitor the window will use.
- setMusicMasterVolume(float) - Static method in class org.xjge.core.Audio
-
Sets the master volume that will be used to attenuate the overall volume of the games background music.
- setNoclipSpeedFactor(float) - Static method in class org.xjge.core.XJGE
-
Sets the speed at which the camera will move while noclip mode is enabled.
- setOpacity(float) - Method in class org.xjge.graphics.Icon
-
Changes the transparency of the icon.
- setOrthoDepthRange(float, float) - Static method in class org.xjge.core.Camera
-
Sets the near/far clipping distance the depth buffer will use while cameras are in orthographic mode.
- setOutput(String, Color) - Method in class org.xjge.core.TerminalCommand
-
Provides a response to the user upon executing a command.
- setPosition(int, int) - Static method in class org.xjge.core.Window
-
Sets the position, in screen coordinates, of the upper-left corner of the content area of the window.
- setPosition(int, int) - Method in class org.xjge.graphics.Icon
-
Variant of
Icon.setPosition(org.joml.Vector2i)
. - setPosition(Vector2i) - Method in class org.xjge.graphics.Icon
-
Sets the current position of the icon.
- setPositionCentered() - Static method in class org.xjge.core.Window
-
Attempts to place the window in the center of the monitor.
- setProjectionType(boolean) - Method in class org.xjge.core.Camera
-
Changes the current projection type the camera will use.
- setScene(Scene) - Static method in class org.xjge.core.Game
-
Exits the current scene and enters the one specified.
- setScreenSplit(Split) - Static method in class org.xjge.core.XJGE
-
Sets the current split value the engine will use to divide the screen during split screen mode.
- setShadowMap(ShadowMap) - Method in class org.xjge.core.Scene
-
Sets the current shadow map that will be used to cast shadows onto various entities within the scene.
- setShowBounds(boolean) - Method in class org.xjge.core.ShadowMap
-
Sets whether the areas beyond the shadow maps frustum are darkened or not.
- setSkybox(Skybox) - Method in class org.xjge.core.Scene
-
Sets the current skybox the scene will render as part of its background.
- setSoundMasterVolume(float) - Static method in class org.xjge.core.Audio
-
Sets the master volume that will be used to attenuate the overall volume of all sound effects.
- setSoundSourceState(int, int) - Static method in class org.xjge.core.Audio
-
Explicitly sets the state of a
SoundSource
object. - setSpeaker(String) - Static method in class org.xjge.core.Hardware
-
Sets the current audio device the engine will use.
- setSplitPosition(Split, int, int) - Method in class org.xjge.core.Widget
-
Called automatically anytime a change to the applications viewports occurs.Using this method, widgets can update the positions of their elements to better suit the size of the viewport.
- setSubImage(int, int) - Method in class org.xjge.graphics.Icon
-
Sets the sub-image this icon will use
- setTextureFilter(boolean) - Method in class org.xjge.core.ShadowMap
-
Sets the type of filtering (linear or nearest neighbor) the shadow maps texture will use.
- setTextureSize(int, int) - Method in class org.xjge.core.ShadowMap
-
Sets the dimensions of the texture the shadow map will generate.
- setTitle(String) - Static method in class org.xjge.core.Window
-
Changes the title used to identify the window.
- setUniform(String, boolean, List<Matrix4f>) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new values.
- setUniform(String, boolean, Matrix2f) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, boolean, Matrix3f) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, boolean, Matrix4f) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, float) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, int) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, Vector2f) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, Vector3f) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setUniform(String, Vector4f) - Method in class org.xjge.graphics.GLProgram
-
Supplies the specified uniform variable with a new value.
- setVideoMode(String) - Method in class org.xjge.core.Monitor
-
Sets the video mode the monitor will use.
- setViewportCamera(int, Camera) - Static method in class org.xjge.core.XJGE
-
Sets the current camera object a viewport will use.
- setVirtualGamepadInput(int, Control, float) - Static method in class org.xjge.core.Input
-
Changes the input value of a virtual gamepads control component.
- setVSyncEnabled(boolean) - Static method in class org.xjge.core.Hardware
-
Determines whether the application will take advantage of vertical sync (or VSync) while rendering frames.
- Shader - Class in org.xjge.graphics
-
Encapsulates an OpenGL shader object.
- Shader(String, int) - Constructor for class org.xjge.graphics.Shader
-
Parses a .glsl source file then utilizes the stage specified to produce a new OpenGL shader object.
- ShadowMap - Class in org.xjge.core
-
Shadow maps generate a 2D texture that is then projected over the scene to create the appearance of dynamic shadows.
- ShadowMap() - Constructor for class org.xjge.core.ShadowMap
-
Creates a new shadow map object using the default settings provided by the engine.
- ShadowMap(float, float, float, float, boolean, int, int, boolean, int) - Constructor for class org.xjge.core.ShadowMap
-
Creates a new shadow map object using the settings specified.
- SHARE - org.xjge.core.Control
-
A button generally located somewhere in the center of the gamepad.
- SILVER - Static variable in class org.xjge.graphics.Color
- Skybox - Class in org.xjge.core
-
Enables a
Scene
to exhibit a greater level of detail in its environment by projecting a 3D texture onto the corresponding faces of a cuboid mesh, creating the illusion of an infinitely distant sky. - Skybox(String, String, String, boolean) - Constructor for class org.xjge.core.Skybox
-
Creates a new skybox using the images specified.
- Skybox(String, String, String, String, String, String, boolean) - Constructor for class org.xjge.core.Skybox
-
Overloaded version of
Skybox(java.lang.String,java.lang.String,java.lang.String,boolean)
. - Song - Class in org.xjge.core
-
Represents a musical composition, may or may not contain an intro which is played once before entering a looping body section.
- Song(String) - Constructor for class org.xjge.core.Song
-
Creates a new song object using the audio file specified.
- Song(String, String) - Constructor for class org.xjge.core.Song
-
Creates a new song object using the audio files specified.
- Sound - Class in org.xjge.core
-
Supplies the data parsed from an audio file into a new sound object that can be used by the
Audio
class to play sound effects. - Sound(String) - Constructor for class org.xjge.core.Sound
-
Creates a new sound object from the audio file specified.
- Speaker - Class in org.xjge.core
-
Represents a peripheral audio output device such as a speaker, headset, or headphones.
- specularColor - Variable in class org.xjge.core.Light
- speed - Variable in class org.xjge.graphics.SpriteAnimation
- Split - Enum in org.xjge.core
-
Represents a way in which the screen can be divided during split screen mode.
- SpriteAnimation - Class in org.xjge.graphics
-
Represents a 2D sprite animation that iterates over a series of sub-images from a texture atlas in sequence to create the illusion of movement.
- SpriteAnimation(ArrayList<Vector2i>, int) - Constructor for class org.xjge.graphics.SpriteAnimation
-
Creates a new 2D animation using the frames provided.
- SpriteAnimation(Vector2i) - Constructor for class org.xjge.graphics.SpriteAnimation
-
Creates a new single-frame animation- a non-animation if you will.
- SQUARE - org.xjge.core.Control
-
A button typically located on the right-hand side of the gamepad.
- start() - Method in class org.xjge.core.Timer
-
Starts the timer.
- start() - Static method in class org.xjge.core.XJGE
-
Exposes the window to the user and starts running the applications main loop.
- stop() - Method in class org.xjge.core.Timer
-
Stops the timer.
- stopMusic() - Static method in class org.xjge.core.Audio
-
Ceases playing a song.
- StopWatch - Class in org.xjge.core
-
Provides a simple timing mechanism that exhibits greater accuracy than
Game.tick(int)
alone by capturing the timestamp of the initial game tick from whichStopWatch.tick(int,int,boolean)
was called and comparing it to subsequent ticks until the specified number of cycles have passed. - StopWatch() - Constructor for class org.xjge.core.StopWatch
- subImageCount - Variable in class org.xjge.graphics.Atlas
- subImageHeight - Variable in class org.xjge.graphics.Atlas
-
The size (in texture coordinates) of a single sub-image cell.
- subImageOffsets - Variable in class org.xjge.graphics.Atlas
-
A collection that couples the cell locations of sub-images to their corresponding coordinates within the texture.
- subImageWidth - Variable in class org.xjge.graphics.Atlas
-
The size (in texture coordinates) of a single sub-image cell.
- sunset() - Static method in class org.xjge.core.Light
-
Provides implementing applications with an predefined light object that simulates the hue of a sunset.
All Classes|All Packages