Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A - Enum constant in enum class technology.sola.engine.input.Key
-
A key.
- AABB - Enum constant in enum class technology.sola.engine.physics.component.collider.ColliderType
-
Axis Aligned Bounding Box
- active(Style) - Static method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Creates a ConditionalStyle instance for a style that will be applied when the
GuiElement
is active. - add(Class<T>, EventListener<T>) - Method in class technology.sola.engine.event.EventHub
-
Adds an
EventListener
that listens to events of desired type. - add(AssetLoader<?>) - Method in class technology.sola.engine.assets.AssetLoaderProvider
-
Adds an
AssetLoader
that can be retrieved and used later. - add(DrawItem) - Method in class technology.sola.engine.graphics.renderer.Layer
- add(DrawItem, int) - Method in class technology.sola.engine.graphics.renderer.Layer
- add(Vector2D) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the sum of two vectors and returns the sum as a new vector object.
- addAnimation(String, int, SpriteKeyFrame...) - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Adds a new animation with animation id and an array of key frames.
- addAnimation(String, SpriteKeyFrame...) - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Adds a new animation with animation id and an array of key frames.
- addAsset(Class<? extends Asset>, String, String) - Method in class technology.sola.engine.assets.BulkAssetLoader
-
Adds an
Asset
to be loaded. - addAsset(String, T) - Method in class technology.sola.engine.assets.AssetLoader
-
Manually add an
Asset
to this loader. - addAssetMapping(String, String) - Method in class technology.sola.engine.assets.AssetLoader
-
Adds an asset id to path mapping but does not populate the cache until the asset is requested via
AssetLoader.get(String)
- addControl(String, List<ControlInput>) - Method in class technology.sola.engine.input.SolaControls
-
Adds a control with specified
ControlInput
s. - addControl(String, ControlInput) - Method in class technology.sola.engine.input.SolaControls
-
Adds a control with only a single specified
ControlInput
. - addControls(ControlsConfig) - Method in class technology.sola.engine.input.SolaControls
-
Adds all controls from a
ControlsConfig
. - addFinishListener(Consumer<AudioClip>) - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Called when an AudioClip completes playing.
- addFirst(T) - Method in class technology.sola.engine.networking.NetworkQueue
-
Adds message to the front of the queue.
- addGraphicsModules(SolaGraphicsModule...) - Method in class technology.sola.engine.defaults.SolaGraphics
-
Adds
SolaGraphicsModule
s to be rendered. - addLast(T) - Method in class technology.sola.engine.networking.NetworkQueue
-
Adds a message to the end of the queue.
- addSprite(SpriteInfo) - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Adds a new sprite to the sprite sheet and returns a new instance.
- addSpriteDefinition(String, int, int, int, int) - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheet
-
Adds a sprite definition to the sprite sheet.
- addSpriteDefinition(SpriteInfo) - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheet
-
Adds a sprite definition to the sprite sheet.
- addStyle(Class<? extends GuiElement<Style, ?>>, List<ConditionalStyle<Style>>) - Method in class technology.sola.engine.graphics.gui.style.theme.GuiTheme
- addStyle(Style) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Convenience method that calls
StyleContainer.addStyle(ConditionalStyle)
for this element'sStyleContainer
wrapping the provided style in aConditionalStyle.always(BaseStyles)
. - addStyle(ConditionalStyle<Style>) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Convenience method that calls
StyleContainer.addStyle(ConditionalStyle)
for this element'sStyleContainer
. - addStyle(ConditionalStyle<Style>) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Appends another
ConditionalStyle
to the current list of styles. - addStyles(List<ConditionalStyle<Style>>) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Convenience method that calls
StyleContainer.addStyles(List)
for this element'sStyleContainer
. - addStyles(List<ConditionalStyle<Style>>) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Appends a
List
ofConditionalStyle
s to the current list of styles. - addStyles(List<ConditionalStyle<Style>>, boolean) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Appends or prepends a
List
ofConditionalStyle
s to the current list of styles. - adjustMouseForViewport(int, int) - Method in class technology.sola.engine.core.SolaPlatform
-
Convenience method for calculating adjusted mouse coordinate considering the current
AspectMode
of theViewport
. - AffineTransform - Class in technology.sola.engine.graphics
-
AffineTransform represents an affine transformation.
- AffineTransform() - Constructor for class technology.sola.engine.graphics.AffineTransform
- afterDeserialize(World) - Method in class technology.sola.engine.core.component.TransformComponent
- ALT - Enum constant in enum class technology.sola.engine.input.Key
-
Alt key.
- always(Style) - Static method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Creates a ConditionalStyle instance for a style that will always be applied.
- ANDROID - Static variable in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Identifier for the Android
SolaPlatform
implementation. - appendChildren(GuiElement<?, ?>...) - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
-
ImageGuiElement does not render children so this method will do nothing.
- appendChildren(GuiElement<?, ?>...) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
TextInputGuiElement does not render children so this method will do nothing.
- appendChildren(GuiElement<?, ?>...) - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
-
ImageGuiElement does not render children so this method will do nothing.
- appendChildren(GuiElement<?, ?>...) - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
-
TextGuiElement does not render children so this method will do nothing.
- appendChildren(GuiElement<?, ?>...) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Adds child
GuiElement
s to this element. - apply(int, int, float) - Method in interface technology.sola.engine.graphics.components.LightFlicker.FlickerSmoothing
-
Function called to smooth the transition between the current and next light intensity values
- applyForce(float, float) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Apply a force to the dynamic body.
- applyForce(Vector2D) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Apply a force to the dynamic body.
- applyToElement(GuiElement<Style, ?>) - Method in class technology.sola.engine.graphics.gui.style.theme.GuiTheme
-
Applies this theme to a
GuiElement
. - applyToTree(GuiElement<Style, ?>) - Method in class technology.sola.engine.graphics.gui.style.theme.GuiTheme
-
Applies this theme to a
GuiElement
and all its children. - asArray() - Method in record class technology.sola.engine.assets.json.JsonElementAsset
- asObject() - Method in record class technology.sola.engine.assets.json.JsonElementAsset
- AspectMode - Enum Class in technology.sola.engine.graphics.screen
-
AspectMode specifies how rendered output will be scaled when the window resizes.
- AspectRatioSizing - Record Class in technology.sola.engine.graphics.screen
-
AspectRatioSizing contains the top, left coordinate for where rendering will begin as well as the width and height of the space to render in.
- AspectRatioSizing(int, int, int, int) - Constructor for record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Creates an instance of a
AspectRatioSizing
record class. - Asset - Interface in technology.sola.engine.assets
-
Asset notates a class as being able to be loaded by an
AssetLoader
. - ASSET_ID - Static variable in class technology.sola.engine.assets.graphics.font.DefaultFont
- AssetHandle<T extends Asset> - Class in technology.sola.engine.assets
-
AssetHandle is a handle to an
Asset
that may or may not be loaded yet. - AssetHandle() - Constructor for class technology.sola.engine.assets.AssetHandle
-
Creates an empty AssetHandle with an empty list of onLoadSubscribers.
- AssetHandle(T) - Constructor for class technology.sola.engine.assets.AssetHandle
-
Creates an AssetHandle instance with a preloaded
Asset
. - AssetLoader<T extends Asset> - Class in technology.sola.engine.assets
-
The AssetLoader class contains functionality for loading an
Asset
type. - AssetLoader() - Constructor for class technology.sola.engine.assets.AssetLoader
- assetLoaderProvider - Variable in class technology.sola.engine.core.Sola
-
Used to load assets for the Sola to use.
- AssetLoaderProvider - Class in technology.sola.engine.assets
-
The AssetLoaderProvider class holds instances of
AssetLoader
s for variousAsset
types. - AssetLoaderProvider() - Constructor for class technology.sola.engine.assets.AssetLoaderProvider
- AudioClip - Interface in technology.sola.engine.assets.audio
-
AudioClip defines the api for audio
Asset
s. - autoSizeColliderToSprite(Entity, AssetLoader<SpriteSheet>) - Static method in class technology.sola.engine.physics.utils.ColliderUtils
B
- B - Enum constant in enum class technology.sola.engine.input.Key
-
B key.
- BACK - Enum constant in enum class technology.sola.engine.input.MouseButton
-
Represents back (button 4) mouse button.
- BACK_QUOTE - Enum constant in enum class technology.sola.engine.input.Key
-
Back Quote key.
- background() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Describes how the background of the
GuiElement
should render. - Background - Record Class in technology.sola.engine.graphics.gui.style.property
-
Background contains the properties for a
GuiElement
's background. - Background(Color) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Background
-
Creates an instance of a
Background
record class. - BACKSLASH - Enum constant in enum class technology.sola.engine.input.Key
-
Backslash key.
- BACKSPACE - Enum constant in enum class technology.sola.engine.input.Key
-
Backspace key.
- BaseInputGuiElement<Style extends BaseStyles,
ElementType extends GuiElement<Style, ElementType>> - Class in technology.sola.engine.graphics.gui.elements.input -
BaseInputGuiElement provides basic functionality for
GuiElement
s that allow users to interact with them via keyboard or mouse events. - BaseInputGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.input.BaseInputGuiElement
-
Creates a new BaseInputGuiElement instance registering a mouse event for focussing the element when pressed.
- BaseStyles - Class in technology.sola.engine.graphics.gui.style
-
BaseStyles contains properties that are common to all
GuiElement
to use as part of rendering. - BaseStyles(BaseStyles.Builder<?>) - Constructor for class technology.sola.engine.graphics.gui.style.BaseStyles
-
Populates
BaseStyles
properties itsBaseStyles.Builder
. - BaseStyles.Builder<Self extends BaseStyles.Builder<Self>> - Class in technology.sola.engine.graphics.gui.style
-
Builder class for
BaseStyles
. - BaseStylesJsonValueParser - Class in technology.sola.engine.graphics.gui.json.styles
-
A
StylesJsonValueParser
implementation forBaseStyles.Builder
. - BaseStylesJsonValueParser() - Constructor for class technology.sola.engine.graphics.gui.json.styles.BaseStylesJsonValueParser
- beforeRender(Renderer) - Method in class technology.sola.engine.core.SolaPlatform
-
Method called before each render frame.
- BLACK - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(0, 0, 0).
- BLANK - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - argb(0, 0, 0, 0).
- BlendFunction - Interface in technology.sola.engine.graphics.renderer.blend
-
BlendFunction controls how the pixel being drawn (top) and the destination pixel (bottom) will be blended together to produce a final color that is drawn.
- BlendMode - Enum Class in technology.sola.engine.graphics.renderer
-
BlendMode is an enum of several prebuilt
BlendFunction
s. - BlendModeComponent - Class in technology.sola.engine.graphics.components
- BlendModeComponent(BlendFunction) - Constructor for class technology.sola.engine.graphics.components.BlendModeComponent
-
Creates a new instance initialized to a
BlendFunction
. - BLUE - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(0, 0, 255).
- body() - Method in record class technology.sola.engine.networking.rest.HttpResponse
-
Returns the value of the
body
record component. - BOLD - Enum constant in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Bold styling.
- BOLD_ITALIC - Enum constant in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Bold and italic styling.
- border() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Describes how the border of the
GuiElement
should render. - Border - Record Class in technology.sola.engine.graphics.gui.style.property
-
Border contains the properties for a
GuiElement
's border. - Border(int, Color) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Border
-
Creates a border with all sides the same size.
- Border(Color, Integer, Integer, Integer, Integer) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Border
-
Creates an instance of a
Border
record class. - BORDER - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout and rendering value for
BaseStyles.border()
. - bottom() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns the value of the
bottom
record component. - bottom() - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Returns the value of the
bottom
record component. - BucketId(int, int) - Constructor for record class technology.sola.engine.physics.utils.SpatialHashMap.BucketId
-
Creates an instance of a
BucketId
record class. - build() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputStyles.Builder
- build() - Method in class technology.sola.engine.graphics.gui.elements.TextStyles.Builder
- build() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Builds a new styles instance based on the builder properties that were set.
- build(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.GuiJsonDocumentBuilder
-
Builds a
GuiJsonDocument
fromJsonObject
. - buildDarkTheme() - Static method in class technology.sola.engine.graphics.gui.style.theme.DefaultThemeBuilder
-
Builds a new
GuiTheme
instance that has darker colors. - Builder() - Constructor for class technology.sola.engine.graphics.gui.elements.input.TextInputStyles.Builder
- Builder() - Constructor for class technology.sola.engine.graphics.gui.elements.TextStyles.Builder
- Builder() - Constructor for class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
- buildGameLoop() - Method in class technology.sola.engine.core.SolaPlatform
-
Builds the
GameLoop
for this platform. - buildLightTheme() - Static method in class technology.sola.engine.graphics.gui.style.theme.DefaultThemeBuilder
-
Builds a new
GuiTheme
instance that has lighter colors. - buildRenderer(SolaConfiguration) - Method in class technology.sola.engine.core.SolaPlatform
-
Builds the
Renderer
for this platform. - BulkAssetLoader - Class in technology.sola.engine.assets
-
BulkAssetLoader handles loading a collection of various
Asset
s proving a handle for the collection with callbacks for when all the assets have finished loading. - BulkAssetLoader(AssetLoaderProvider) - Constructor for class technology.sola.engine.assets.BulkAssetLoader
-
Creates a BulkAssetLoader instance.
- BulkAssetLoader.BulkAssetHandle - Class in technology.sola.engine.assets
-
BulkAssetHandle holds the collection of
Asset
s that have been loaded by aBulkAssetLoader
. - button() - Method in record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
-
Returns the value of the
button
record component. - button() - Method in record class technology.sola.engine.input.MouseEvent
-
Returns the value of the
button
record component. - ButtonElementJsonBlueprint - Class in technology.sola.engine.graphics.gui.json.element
- ButtonElementJsonBlueprint() - Constructor for class technology.sola.engine.graphics.gui.json.element.ButtonElementJsonBlueprint
-
Creates an instance of this
GuiElementJsonBlueprint
. - ButtonGuiElement - Class in technology.sola.engine.graphics.gui.elements.input
-
ButtonGuiElement is a
BaseInputGuiElement
that allows users to interact via clicking the button or using keyboard shortcuts. - ButtonGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.input.ButtonGuiElement
-
Creates a ButtonGuiElement and adds default event listeners for handling disabled states and when the
Key.SPACE
key is pressed.
C
- C - Enum constant in enum class technology.sola.engine.input.Key
-
C key.
- CACHE_SIZE - Static variable in class technology.sola.engine.assets.graphics.SolaImage
-
The number of cached resizes this image with hold.
- calculateAABBVsAABB(Rectangle, Rectangle) - Static method in class technology.sola.engine.physics.utils.CollisionUtils
-
Calculates a
MinimumTranslationVector
for a collision between two axis alignedRectangle
s. - calculateAABBVsCircle(Rectangle, Circle) - Static method in class technology.sola.engine.physics.utils.CollisionUtils
- calculateAttenuation(float) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Calculates the attenuation of the light for a distance.
- calculateCentroid(Vector2D[]) - Static method in interface technology.sola.math.geometry.Shape
-
Calculates and returns the centroid of the shape represented by the array of points.
- calculateCircleVsCircle(Circle, Circle) - Static method in class technology.sola.engine.physics.utils.CollisionUtils
-
Calculates a
MinimumTranslationVector
for a collision between twoCircle
s. - calculateCollisionManifold(View2Entry<ColliderComponent, TransformComponent>, View2Entry<ColliderComponent, TransformComponent>) - Static method in class technology.sola.engine.physics.utils.CollisionUtils
-
Calculates a
CollisionManifold
for twoEntity
that collided. - calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
- calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.elements.input.ButtonGuiElement
- calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
- calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.elements.SectionGuiElement
- calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
- calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
- calculateContentDimensions() - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Calculates content dimensions for this element.
- calculateRenderDetails(Font, String, GuiElementBounds) - Static method in class technology.sola.engine.graphics.gui.util.TextRenderUtils
-
Calculates
TextRenderDetails
for the text based on the content bounds available on currentFont
. - CameraComponent - Class in technology.sola.engine.graphics.components
-
CameraComponent is a
Component
that contains data for a 2d camera for anEntity
. - CameraComponent() - Constructor for class technology.sola.engine.graphics.components.CameraComponent
- Canvas - Class in technology.sola.engine.graphics
-
Canvas is an array of pixels with a width and height defined.
- Canvas(int, int) - Constructor for class technology.sola.engine.graphics.Canvas
-
Creates a Canvas instance with an empty array of pixels.
- Canvas(int, int, int[]) - Constructor for class technology.sola.engine.graphics.Canvas
-
Creates a canvas instance with desired array of pixels.
- CAPS_LOCK - Enum constant in enum class technology.sola.engine.input.Key
-
Caps Lock key.
- CARRIAGE_RETURN - Enum constant in enum class technology.sola.engine.input.Key
-
Carriage Return key.
- center() - Method in record class technology.sola.math.geometry.Circle
-
Returns the value of the
center
record component. - CENTER - Enum constant in enum class technology.sola.engine.graphics.gui.elements.TextStyles.TextAlignment
-
Renders text at the center of the rendering space available.
- CENTER - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.CrossAxisChildren
-
Children are aligned to the center of the axis.
- CENTER - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Children are aligned to the center of the axis.
- checkCollision(Vector2D[], Vector2D[]) - Static method in class technology.sola.engine.physics.utils.SeparatingAxisTheorem
-
Checks for collisions between to shapes.
- checkCollision(Vector2D[], Vector2D, float) - Static method in class technology.sola.engine.physics.utils.SeparatingAxisTheorem
-
Checks for collisions between a shape and a circle.
- children - Variable in class technology.sola.engine.graphics.gui.GuiElement
-
The list of children
GuiElement
s. - Circle - Record Class in technology.sola.math.geometry
-
Circle represents a geometric circle.
- Circle(float, Vector2D) - Constructor for record class technology.sola.math.geometry.Circle
-
Creates a circle with defined radius and center.
- CIRCLE - Enum constant in enum class technology.sola.engine.physics.component.collider.ColliderType
-
Circle
- CircleEntityGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
CircleEntityGraphicsModule is a
SolaEntityGraphicsModule
implementation for renderingEntity
that have aTransformComponent
andCircleRendererComponent
. - CircleEntityGraphicsModule() - Constructor for class technology.sola.engine.defaults.graphics.modules.CircleEntityGraphicsModule
- CircleRendererComponent - Class in technology.sola.engine.graphics.components
-
CircleRendererComponent is a
Component
containing data for rendering 2d circles. - CircleRendererComponent(Color) - Constructor for class technology.sola.engine.graphics.components.CircleRendererComponent
-
Creates a CircleRendererComponent of desired color that is filled.
- CircleRendererComponent(Color, boolean) - Constructor for class technology.sola.engine.graphics.components.CircleRendererComponent
-
Creates a CircleRendererComponent of desired color that is either filled or not filled.
- clamp(float, float, float) - Static method in class technology.sola.math.SolaMath
-
Clamps a float value between a min and max.
- clamp(Vector2D, Vector2D, Vector2D) - Static method in class technology.sola.math.SolaMath
-
Clamps a
Vector2D
between a min and max. - clear() - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Sets all pixels to
Color.BLACK
- clear() - Method in class technology.sola.engine.networking.NetworkQueue
-
Clears all messages from the queue.
- clear(Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Sets all pixels to desired
Color
. - clear(Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- closestPointOnLine(Vector2D) - Method in record class technology.sola.math.geometry.Line
-
Calculates the closest point on this line to the desired target point.
- ColliderComponent - Class in technology.sola.engine.physics.component
-
ColliderComponent is a
Component
that contains collision data for anEntity
. - ColliderComponent(ColliderShape<?>) - Constructor for class technology.sola.engine.physics.component.ColliderComponent
-
Creates a ColliderComponent instance with specified
ColliderShape
. - ColliderComponent(ColliderShape<?>, float, float) - Constructor for class technology.sola.engine.physics.component.ColliderComponent
-
Creates a ColliderComponent instance with specified
ColliderShape
and collider offset. - ColliderShape<T extends Shape> - Interface in technology.sola.engine.physics.component.collider
-
ColliderShape contains methods and data needed for geometric
Shape
s for collision calculations. - ColliderShapeAABB - Record Class in technology.sola.engine.physics.component.collider
-
ColliderShapeAABB is a
ColliderShape
implementation for Axis-Aligned Bounding Boxes which utilize aRectangle
for its geometric shape representation. - ColliderShapeAABB() - Constructor for record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Creates an instance with height and width both set to 1.
- ColliderShapeAABB(float, float) - Constructor for record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Creates an instance of a
ColliderShapeAABB
record class. - ColliderShapeCircle - Record Class in technology.sola.engine.physics.component.collider
-
ColliderShapeCircle is a
ColliderShape
implementation for a circle which utilize aCircle
for its geometric shape representation. - ColliderShapeCircle() - Constructor for record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
-
Creates an instance with radius set to 0.5f.
- ColliderShapeCircle(float) - Constructor for record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
-
Creates an instance of a
ColliderShapeCircle
record class. - ColliderShapeTriangle - Record Class in technology.sola.engine.physics.component.collider
-
ColliderShapeTriangle is a
ColliderShape
implementation for a triangle which utilize aTriangle
for its geometric shape representation. - ColliderShapeTriangle() - Constructor for record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
-
Creates a "unit triangle" collider shape with uniform side lengths of 1.
- ColliderShapeTriangle(Triangle) - Constructor for record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
-
Creates an instance of a
ColliderShapeTriangle
record class. - ColliderTag - Interface in technology.sola.engine.physics.component.collider
-
Identifier tag for this collider.
- ColliderType - Enum Class in technology.sola.engine.physics.component.collider
-
Available collider types.
- ColliderUtils - Class in technology.sola.engine.physics.utils
-
ColliderUtils is a collection of utility methods for configuring
ColliderComponent
. - CollisionDetectionBroadPhase - Interface in technology.sola.engine.physics.system.collision
-
CollisionDetectionBroadPhase defines the contract for a broad phase collision detection algorithm to be used by
CollisionDetectionSystem
. - CollisionDetectionSystem - Class in technology.sola.engine.physics.system
-
The CollisionDetectionSystem class is a
EcsSystem
implementation that handles checking if aWorld
has anyEntity
withColliderComponent
s that are colliding with each other. - CollisionDetectionSystem(EventHub) - Constructor for class technology.sola.engine.physics.system.CollisionDetectionSystem
-
Creates a CollisionDetectionSystem that uses an auto sizing
QuadTreeCollisionDetectionBroadPhase
. - CollisionDetectionSystem(EventHub, CollisionDetectionBroadPhase) - Constructor for class technology.sola.engine.physics.system.CollisionDetectionSystem
-
Creates a CollisionDetectionSystem with custom
CollisionDetectionBroadPhase
algorithm. - CollisionEvent - Record Class in technology.sola.engine.physics.event
-
Event
that a collision happened that should be resolved by applying forces. - CollisionEvent(CollisionManifold) - Constructor for record class technology.sola.engine.physics.event.CollisionEvent
-
Creates an instance of a
CollisionEvent
record class. - collisionManifold() - Method in record class technology.sola.engine.physics.event.CollisionEvent
-
Returns the value of the
collisionManifold
record component. - collisionManifold() - Method in record class technology.sola.engine.physics.event.SensorEvent
-
Returns the value of the
collisionManifold
record component. - CollisionManifold - Record Class in technology.sola.engine.physics
-
Creates a CollisionManifoldEventMessage for two entities.
- CollisionManifold(Entity, Entity, MinimumTranslationVector) - Constructor for record class technology.sola.engine.physics.CollisionManifold
-
Creates a CollisionManifoldEventMessage for two entities.
- CollisionManifold(Entity, Entity, Vector2D, float) - Constructor for record class technology.sola.engine.physics.CollisionManifold
-
Creates an instance of a
CollisionManifold
record class. - CollisionUtils - Class in technology.sola.engine.physics.utils
-
The CollisionUtils class is a collection of various methods that help in collision detection and resolution.
- color() - Method in record class technology.sola.engine.graphics.gui.style.property.Background
-
Returns the value of the
color
record component. - color() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns the value of the
color
record component. - Color - Class in technology.sola.engine.graphics
-
The Color class represents an argb color that can be used for rendering.
- Color(int) - Constructor for class technology.sola.engine.graphics.Color
-
Creates a color instance from a 4 byte integer.
- Color(int, int, int) - Constructor for class technology.sola.engine.graphics.Color
-
Creates a Color instance via rgb values.
- Color(int, int, int, int) - Constructor for class technology.sola.engine.graphics.Color
-
Creates a Color instance via argb values.
- COLUMN - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Direction
-
Children flow from top to bottom.
- COLUMN_REVERSE - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Direction
-
Children flow from top to bottom in reverse order.
- COMMA - Enum constant in enum class technology.sola.engine.input.Key
-
Comma key.
- compareTo(SolaGraphicsModule) - Method in class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
- condition() - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Returns the value of the
condition
record component. - conditionallyResolveCollision(Function<Entity, Boolean>, Function<Entity, Boolean>, BiConsumer<Entity, Entity>) - Method in record class technology.sola.engine.physics.CollisionManifold
-
Calls the collision resolve callback if both entity collision condition checks return true.
- ConditionalStyle<Style extends BaseStyles> - Record Class in technology.sola.engine.graphics.gui.style
-
ConditionalStyle holds a
BaseStyles
instance and a condition for when it should be applied. - ConditionalStyle(Function<GuiElement<Style, ?>, Boolean>, Style) - Constructor for record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Creates an instance of a
ConditionalStyle
record class. - conditions() - Method in record class technology.sola.engine.assets.input.ControlInput
-
Returns the value of the
conditions
record component. - configuration - Variable in class technology.sola.engine.core.Sola
-
The configuration for this Sola
- configure(SolaLogLevel, SolaLoggerFactory) - Static method in class technology.sola.logging.SolaLogger
-
Configures all resulting SolaLoggers to have desired
SolaLogLevel
and to be created via desiredSolaLoggerFactory
. - connect(String, int) - Method in class technology.sola.engine.networking.socket.JavaSocketClient
- connect(String, int) - Method in interface technology.sola.engine.networking.socket.SocketClient
-
Connects to a server by host and port.
- contains(int, int) - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Checks to see if a point is within bounds.
- contains(MouseEvent) - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Checks to see if a
MouseEvent
is within bounds. - contains(Vector2D) - Method in record class technology.sola.math.geometry.Circle
- contains(Vector2D) - Method in record class technology.sola.math.geometry.Rectangle
- contains(Vector2D) - Method in interface technology.sola.math.geometry.Shape
-
Checks if this Shape contains a point.
- contains(Vector2D) - Method in record class technology.sola.math.geometry.Triangle
- contentBounds - Variable in class technology.sola.engine.graphics.gui.GuiElement
-
Includes only content size.
- CONTINUOUS - Static variable in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Constant for telling the
SpriteAnimatorComponent
to continuously loop the animation. - CONTINUOUS_LOOPING - Static variable in interface technology.sola.engine.assets.audio.AudioClip
-
Constant used in
AudioClip.loop(int)
to loop untilAudioClip.stop()
is called. - CONTROL - Enum constant in enum class technology.sola.engine.input.Key
-
Control key.
- ControlInput - Record Class in technology.sola.engine.assets.input
-
A ControlInput is composed of a
List
of conditions. - ControlInput(List<ControlInputCondition<?>>) - Constructor for record class technology.sola.engine.assets.input.ControlInput
-
Creates an instance of a
ControlInput
record class. - ControlInputCondition<T> - Interface in technology.sola.engine.assets.input
-
ControlInputCondition indicates whether a condition for a
ControlInput
is active or not. - controls() - Method in record class technology.sola.engine.assets.input.ControlsConfig
-
Returns the value of the
controls
record component. - ControlsConfig - Record Class in technology.sola.engine.assets.input
-
ControlsConfig is an
Asset
for control configurations. - ControlsConfig(Map<String, List<ControlInput>>) - Constructor for record class technology.sola.engine.assets.input.ControlsConfig
-
Creates an instance of a
ControlsConfig
record class. - ControlsConfigAssetLoader - Class in technology.sola.engine.assets.input
-
ControlsConfigAssetLoader is an
AssetLoader
implementation forControlsConfig
s. - ControlsConfigAssetLoader(AssetLoader<JsonElementAsset>) - Constructor for class technology.sola.engine.assets.input.ControlsConfigAssetLoader
-
Creates an instance of this asset loader.
- ControlsConfigJsonMapper - Class in technology.sola.engine.assets.input
-
ControlsConfigJsonMapper is a
JsonMapper
implementation forControlsConfig
. - ControlsConfigJsonMapper() - Constructor for class technology.sola.engine.assets.input.ControlsConfigJsonMapper
- create() - Static method in class technology.sola.engine.graphics.gui.elements.input.TextInputStyles
-
Convenience method for creating a new
TextInputStyles.Builder
. - create() - Static method in class technology.sola.engine.graphics.gui.elements.TextStyles
-
Convenience method for creating a new
TextStyles.Builder
. - create() - Static method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Convenience method for creating a new
BaseStyles.Builder
. - create(EventHub, Consumer<Float>, Runnable, int) - Method in interface technology.sola.engine.core.SolaPlatform.GameLoopProvider
-
Creates a new
GameLoop
instance - createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.ButtonElementJsonBlueprint
- createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint
-
Creates an instance of the Element of this blueprint.
- createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.ImageElementJsonBlueprint
- createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.SectionElementJsonBlueprint
- createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.SpriteElementJsonBlueprint
- createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.TextElementJsonBlueprint
- createElementFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.TextInputElementJsonBlueprint
- createLayers(String...) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Creates new layers for drawing on.
- createRendererForImage(SolaImage) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Creates a new Renderer instance that draws to a
SolaImage
instead of the screen. - createRendererForImage(SolaImage) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.ButtonElementJsonBlueprint
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.ImageElementJsonBlueprint
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.SectionElementJsonBlueprint
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.SpriteElementJsonBlueprint
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.TextElementJsonBlueprint
- createStylesBuilder() - Method in class technology.sola.engine.graphics.gui.json.element.TextInputElementJsonBlueprint
- createStylesFromJson(JsonObject) - Method in class technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint
-
Creates an instance of the Element's Styles.
- CROSS_AXIS_CHILDREN - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.crossAxisChildren()
. - crossAxisChildren() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines how child elements will align on the cross axis (based on the
BaseStyles.direction()
). - CrossAxisChildren - Enum Class in technology.sola.engine.graphics.gui.style.property
-
CrossAxisChildren defines how a
GuiElement
's children when be positioned when extra space is available on the cross axis defined by itsDirection
. - Custom - Enum constant in enum class technology.sola.engine.core.SolaPlatformType
-
The custom platform type is used for platforms that do not fit nicely in the main three types desktop, mobile and web.
D
- D - Enum constant in enum class technology.sola.engine.input.Key
-
D key.
- DARK_GRAY - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(169, 169, 169).
- DebugEntityGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
DebugEntityGraphicsModule is a
SolaEntityGraphicsModule
implementation for rendering debug information for aWorld
. - DebugEntityGraphicsModule(CollisionDetectionSystem) - Constructor for class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Creates an instance of DebugEntityGraphicsModule.
- debugRender(Renderer, TransformComponent) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Renders a debug overlay over the collider.
- debugRender(Renderer, TransformComponent, float, float) - Method in interface technology.sola.engine.physics.component.collider.ColliderShape
-
Renders debug information for the collider shape.
- debugRender(Renderer, TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
- debugRender(Renderer, TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
- debugRender(Renderer, TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
- decodeForRaw(BufferedInputStream) - Method in class technology.sola.engine.networking.socket.SocketMessageDecoder
-
Decodes a raw socket encoded message from the client.
- decodeForWeb(BufferedInputStream) - Method in class technology.sola.engine.networking.socket.SocketMessageDecoder
-
Decodes a web socket encoded message from the client.
- DEFAULT_LOG_FILE - Static variable in interface technology.sola.logging.SolaLoggerFactory
-
The default log file to use if not provided.
- DEFAULT_ORDER - Static variable in class technology.sola.engine.graphics.renderer.Layer
-
The default order for a
DrawItem
that is added to this Layer. - DefaultFont - Class in technology.sola.engine.assets.graphics.font
-
The DefaultFont class contains a utility method for creating the default font instance for sola-game-engine.
- DefaultsConfigurator() - Constructor for class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
- DefaultStyleValues - Class in technology.sola.engine.graphics.gui.style
-
Class containing constants for default style values for various properties used by
GuiElement
for rendering and layout calculations. - DefaultThemeBuilder - Class in technology.sola.engine.graphics.gui.style.theme
-
DefaultThemeBuilder contains methods for creating default
GuiTheme
s that can then be further customized. - delete(String, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a DELETE request. - delete(String, JsonArray, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a DELETE request. - delete(String, JsonElement, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a DELETE request. - delete(String, JsonObject, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a DELETE request. - DELETE - Enum constant in enum class technology.sola.engine.input.Key
-
Delete key.
- deltaTime - Variable in class technology.sola.engine.core.GameLoop
-
The time since the last update.
- Desktop - Enum constant in enum class technology.sola.engine.core.SolaPlatformType
-
The desktop platform type is used for platforms implemented for Windows, Linux or Mac.
- dimensions() - Method in record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Returns the value of the
dimensions
record component. - direction() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines the
Direction
child elements flow. - Direction - Enum Class in technology.sola.engine.graphics.gui.style.property
-
Direction defines the ways
GuiElement
children will flow. - DIRECTION - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.direction()
. - disabled(Style) - Static method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Creates a ConditionalStyle instance for a style that will be applied when the
GuiElement
is disabled. - disconnect() - Method in class technology.sola.engine.networking.socket.JavaSocketClient
- disconnect() - Method in interface technology.sola.engine.networking.socket.SocketClient
-
Disconnect from the server.
- dispose() - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Frees up any system resources being used.
- DISSOLVE - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Random chance of using color of top pixel based on alpha as the probability.
- DissolveBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
Random chance of using color of top pixel based on alpha as the probability.
- DissolveBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.DissolveBlendFunction
- distance(Vector2D) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the distance between two vectors.
- distanceSq(Vector2D) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the distance squared between two vectors.
- dot(Vector2D) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the dot product of two vectors.
- DOWN - Enum constant in enum class technology.sola.engine.assets.input.MouseWheelControlInputCondition.State
-
Mouse wheel was moved down.
- DOWN - Enum constant in enum class technology.sola.engine.input.Key
-
Down key.
- DRAGGED - Enum constant in enum class technology.sola.engine.assets.input.MouseButtonControlInputCondition.State
-
The condition is considered active if the
MouseButton
is held and being dragged. - draw(Renderer) - Method in interface technology.sola.engine.graphics.renderer.DrawItem
-
Draws this DrawItem to a
Renderer
. - draw(Renderer) - Method in class technology.sola.engine.graphics.renderer.Layer
-
Draw this Layer to a
Renderer
. - drawCircle(float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws an unfilled circle.
- drawCircle(float, float, float, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- drawImage(SolaImage, float, float) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a
SolaImage
at desired coordinate. - drawImage(SolaImage, float, float) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- drawImage(SolaImage, float, float, float, float) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a
SolaImage
scaled to fit within a rectangle specified by x,y, width and height. - drawImage(SolaImage, float, float, float, float) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- drawImage(SolaImage, AffineTransform) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a
SolaImage
withAffineTransform
applied. - drawImage(SolaImage, AffineTransform) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- DrawItem - Interface in technology.sola.engine.graphics.renderer
-
DrawItem hold logic to draw things onto a
Renderer
. - drawLine(float, float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a line.
- drawLine(float, float, float, float, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- drawRect(float, float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws an unfilled rectangle.
- drawRect(float, float, float, float, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- drawString(String, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a string of text using the current
Font
. - drawString(String, AffineTransform, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a string of text using the current
Font
and applies the desiredAffineTransform
to the rendered string. - drawToLayer(String, int, DrawItem) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Adds a
DrawItem
to a layer at desired order. - drawToLayer(String, DrawItem) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Adds a
DrawItem
to a layer at default order. - drawTriangle(float, float, float, float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a triangle.
- DURATION_FREEZE - Static variable in class technology.sola.engine.graphics.components.SpriteKeyFrame
-
This duration value informs the
SpriteAnimatorSystem
to not tick the duration of the sprite, so it will continue to render on this frame. - DynamicBodyComponent - Class in technology.sola.engine.physics.component
-
ColliderComponent is a
Component
that contains dynamic body physics data for anEntity
. - DynamicBodyComponent() - Constructor for class technology.sola.engine.physics.component.DynamicBodyComponent
-
Creates a DynamicBodyComponent with a
Material.UNIT_MASS_MATERIAL
Material
. - DynamicBodyComponent(boolean) - Constructor for class technology.sola.engine.physics.component.DynamicBodyComponent
-
Creates a DynamicBodyComponent instance with a unit mass
Material
and desired isKinematic value. - DynamicBodyComponent(Material) - Constructor for class technology.sola.engine.physics.component.DynamicBodyComponent
-
Creates a DynamicBodyComponent with desired
Material
. - DynamicBodyComponent(Material, boolean) - Constructor for class technology.sola.engine.physics.component.DynamicBodyComponent
-
Creates a DynamicBodyComponent with desired
Material
and isKinematic value.
E
- E - Enum constant in enum class technology.sola.engine.input.Key
-
E key.
- ease(float) - Method in interface technology.sola.math.EasingFunction
-
Eases a value between 0 and 1.
- EASE_IN - Static variable in interface technology.sola.math.EasingFunction
-
Function that is slower at the start and quicker at the end.
- EASE_OUT - Static variable in interface technology.sola.math.EasingFunction
-
Function that is quicker at the start and slower at the end.
- EasingFunction - Interface in technology.sola.math
-
EasingFunction is a representation of mathematical easing functions useful for things like animation.
- EIGHT - Enum constant in enum class technology.sola.engine.input.Key
-
8 key.
- emit(E) - Method in class technology.sola.engine.graphics.gui.event.GuiEventListenerList
-
Emits a
GuiEvent
that all registeredGuiEventListener
s with respond to. - emit(T) - Method in class technology.sola.engine.event.EventHub
-
Sends an
Event
to allEventListener
s that have been added for that event type. - emitIfAble(float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Emits new particles if enough time has elapsed based on the set properties for emission.
- emittedParticleIterator() - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
- encodeForRaw(SocketMessage) - Method in class technology.sola.engine.networking.socket.SocketMessageEncoder
-
Encodes a message for transmission over raw sockets.
- encodeForWeb(SocketMessage) - Method in class technology.sola.engine.networking.socket.SocketMessageEncoder
-
Encodes a message for transmission over web sockets.
- encodeForWebWithMask(SocketMessage) - Method in class technology.sola.engine.networking.socket.SocketMessageEncoder
-
Encodes a message for transmission over web sockets.
- END - Enum constant in enum class technology.sola.engine.graphics.gui.elements.TextStyles.TextAlignment
-
Renders text at the end of the rendering space available.
- END - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.CrossAxisChildren
-
Children are aligned to the end of the axis.
- END - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Children are aligned to the end of the axis.
- END - Enum constant in enum class technology.sola.engine.input.Key
-
End key.
- ENTER - Enum constant in enum class technology.sola.engine.input.Key
-
Enter key.
- entityA() - Method in record class technology.sola.engine.physics.CollisionManifold
-
Returns the value of the
entityA
record component. - entityB() - Method in record class technology.sola.engine.physics.CollisionManifold
-
Returns the value of the
entityB
record component. - equals(Object) - Method in record class technology.sola.engine.assets.graphics.font.Font.TextDimensions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.graphics.gui.GuiJsonDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.input.ControlInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.input.ControlsConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.input.KeyControlInputCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.input.MouseWheelControlInputCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.assets.json.JsonElementAsset
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.core.event.GameLoopEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.core.SolaConfiguration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.core.SolaPlatform.MouseCoordinate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class technology.sola.engine.graphics.Color
- equals(Object) - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.GuiElementDimensions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.style.property.Background
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.style.property.Position
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class technology.sola.engine.graphics.gui.style.property.StyleValue
- equals(Object) - Method in record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.input.KeyEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.input.MouseEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.networking.rest.HttpResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.physics.CollisionManifold
-
Checks if this instance is equal to another object.
- equals(Object) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.physics.event.CollisionEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.physics.event.SensorEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class technology.sola.engine.physics.Material
- equals(Object) - Method in record class technology.sola.engine.physics.MinimumTranslationVector
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.engine.physics.utils.SpatialHashMap.BucketId
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.math.geometry.Circle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.math.geometry.Line
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.math.geometry.Rectangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.math.geometry.Triangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class technology.sola.math.linear.Vector2D
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Enum constant in enum class technology.sola.engine.input.Key
-
Equals key.
- error(String) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.ERROR
. - error(String, Throwable) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.ERROR
. - error(String, Throwable, Object...) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.ERROR
. - ERROR - Enum constant in enum class technology.sola.logging.SolaLogLevel
-
ERROR is a message level indicating a serious failure.
- ESCAPE - Enum constant in enum class technology.sola.engine.input.Key
-
Escape key.
- Event - Interface in technology.sola.engine.event
-
The Event interface represents an event that can be listened to or emitted.
- eventHub - Variable in class technology.sola.engine.core.GameLoop
-
The
EventHub
instance. - eventHub - Variable in class technology.sola.engine.core.Sola
-
The
EventHub
instance used by this Sola - EventHub - Class in technology.sola.engine.event
-
EventHub handles distribution of
Event
s that are emitted to their respectiveEventListener
s that have been added. - EventHub() - Constructor for class technology.sola.engine.event.EventHub
- EventListener<T extends Event> - Interface in technology.sola.engine.event
-
The EventListener interface defines the api for listening to emitted
Event
s of a certain type. - events() - Method in class technology.sola.engine.graphics.gui.GuiElement
- executeIfLoaded(Consumer<T>) - Method in class technology.sola.engine.assets.AssetHandle
-
Executes the provided consumer synchronously if the
Asset
for this handle has been loaded. - executeWhenLoaded(Consumer<T>) - Method in class technology.sola.engine.assets.AssetHandle
-
Executes the provided consumer asynchronously once the
Asset
for this handle has been loaded. - executeWhenLoaded(AssetLoader<SpriteSheet>, Consumer<SolaImage>) - Method in class technology.sola.engine.graphics.components.SpriteComponent
-
Executes the provided consumer asynchronously once the sprite for this
SpriteComponent
has been loaded.
F
- F - Enum constant in enum class technology.sola.engine.input.Key
-
F key.
- F1 - Enum constant in enum class technology.sola.engine.input.Key
-
F1 key.
- F10 - Enum constant in enum class technology.sola.engine.input.Key
-
F10 key.
- F11 - Enum constant in enum class technology.sola.engine.input.Key
-
F11 key.
- F12 - Enum constant in enum class technology.sola.engine.input.Key
-
F12 key.
- F2 - Enum constant in enum class technology.sola.engine.input.Key
-
F2 key.
- F3 - Enum constant in enum class technology.sola.engine.input.Key
-
F3 key.
- F4 - Enum constant in enum class technology.sola.engine.input.Key
-
F4 key.
- F5 - Enum constant in enum class technology.sola.engine.input.Key
-
F5 key.
- F6 - Enum constant in enum class technology.sola.engine.input.Key
-
F6 key.
- F7 - Enum constant in enum class technology.sola.engine.input.Key
-
F7 key.
- F8 - Enum constant in enum class technology.sola.engine.input.Key
-
F8 key.
- F9 - Enum constant in enum class technology.sola.engine.input.Key
-
F8 key.
- fastRound(float) - Static method in class technology.sola.math.SolaMath
-
Rounds a positive float value to the nearest integer quickly.
- fillCircle(float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a filled circle.
- fillCircle(float, float, float, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- fillRect(float, float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a filled rectangle.
- fillRect(float, float, float, float, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- fillTriangle(float, float, float, float, float, float, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Draws a filled triangle.
- fillTriangle(float, float, float, float, float, float, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- findElementById(String, Class<T>) - Method in class technology.sola.engine.graphics.gui.GuiDocument
-
Searches the document for a
GuiElement
with the desired id. - findElementById(String, Class<T>) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Searches the element tree for an element with the desired id.
- findElementsByType(Class<T>) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Searches the element tree for elements with the desired type.
- findFocussedChildIndex(List<GuiElement<?, ?>>) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Utility method to search an array of elements for which one currently has focus and get its index.
- finish() - Method in interface technology.sola.engine.core.SolaPlatform.SolaPlatformInitialization
-
Call to finalize
SolaPlatform
initialization and begin running theSola
. - FIVE - Enum constant in enum class technology.sola.engine.input.Key
-
5 key.
- FixedUpdateGameLoop - Class in technology.sola.engine.core
-
FixedUpdateGameLoop is a
GameLoop
implementation that runs an update method at desired target updates per second and renders whenever an update is available. - FixedUpdateGameLoop(EventHub, Consumer<Float>, Runnable, int) - Constructor for class technology.sola.engine.core.FixedUpdateGameLoop
-
Creates an instance of the game loop.
- focus(Style) - Static method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Creates a ConditionalStyle instance for a style that will be applied when the
GuiElement
is focussed. - Font - Class in technology.sola.engine.assets.graphics.font
-
Font is an
Asset
containing the information required to render strings of text for a particular font that has been rasterized into an image. - Font(SolaImage, FontInfo) - Constructor for class technology.sola.engine.assets.graphics.font.Font
- FONT_ASSET_ID - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default rendering value for
TextStyles.fontAssetId()
. - Font.TextDimensions - Record Class in technology.sola.engine.assets.graphics.font
-
Represents the width and height that a string of text that would be rendered with a particular
Font
. - fontAssetId() - Method in class technology.sola.engine.graphics.gui.elements.TextStyles
- FontAssetLoader - Class in technology.sola.engine.assets.graphics.font
-
FontAssetLoader is an
AssetLoader
implementation forFont
s. - FontAssetLoader(AssetLoader<JsonElementAsset>, AssetLoader<SolaImage>) - Constructor for class technology.sola.engine.assets.graphics.font.FontAssetLoader
-
Creates an instance of this asset loader.
- fontFamily() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns the value of the
fontFamily
record component. - FontGlyph - Record Class in technology.sola.engine.assets.graphics.font
-
FontGlyph holds information on a glyph's placement in the rasterized
Font
- FontGlyph(char, int, int, int, int) - Constructor for record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Creates an instance of a
FontGlyph
record class. - fontGlyphFile() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns the value of the
fontGlyphFile
record component. - FontGlyphJsonMapper - Class in technology.sola.engine.assets.graphics.font.mapper
-
FontGlyphJsonMapper is a
JsonMapper
implementation forFontGlyph
s. - FontGlyphJsonMapper() - Constructor for class technology.sola.engine.assets.graphics.font.mapper.FontGlyphJsonMapper
- FontInfo - Record Class in technology.sola.engine.assets.graphics.font
-
FontInfo contains all the information needed to render strings for a
Font
. - FontInfo(String, String, FontStyle, int, int, List<FontGlyph>) - Constructor for record class technology.sola.engine.assets.graphics.font.FontInfo
-
Creates an instance of a
FontInfo
record class. - FontInfoJsonMapper - Class in technology.sola.engine.assets.graphics.font.mapper
-
FontInfoJsonMapper is a
JsonMapper
implementation forFontInfo
. - FontInfoJsonMapper() - Constructor for class technology.sola.engine.assets.graphics.font.mapper.FontInfoJsonMapper
- fontSize() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns the value of the
fontSize
record component. - fontStyle() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns the value of the
fontStyle
record component. - FontStyle - Enum Class in technology.sola.engine.assets.graphics.font
-
FontStyle is an enum of possible
Font
style options. - format(LogRecord) - Method in class technology.sola.logging.SolaLogMessageFormatter
- FORWARD - Enum constant in enum class technology.sola.engine.input.MouseButton
-
Represents forward (button 5) mouse button.
- FORWARD_SLASH - Enum constant in enum class technology.sola.engine.input.Key
-
Forward Slash key.
- FOUR - Enum constant in enum class technology.sola.engine.input.Key
-
4 key.
- fpsTracker - Variable in class technology.sola.engine.core.GameLoop
-
The
GameLoop.FpsTracker
instance. - FpsTracker() - Constructor for class technology.sola.engine.core.GameLoop.FpsTracker
- FULL - Static variable in class technology.sola.engine.graphics.gui.style.property.StyleValue
-
StyleValue constant for the value of 100%.
G
- G - Enum constant in enum class technology.sola.engine.input.Key
-
G key.
- gameLoop - Variable in class technology.sola.engine.core.SolaPlatform
-
The
GameLoop
for the platform. - GameLoop - Class in technology.sola.engine.core
-
GameLoop handles running a sequence of update and render commands at a target rate.
- GameLoop(EventHub, Consumer<Float>, Runnable, int) - Constructor for class technology.sola.engine.core.GameLoop
-
Creates a game loop instance with desired update and render logic at target updates per second.
- GameLoop(EventHub, Consumer<Float>, Runnable, int, boolean) - Constructor for class technology.sola.engine.core.GameLoop
-
Creates a game loop instance with desired update and render logic at target updates per second.
- GameLoop.FpsTracker - Class in technology.sola.engine.core
-
FpsTracker is a simple class for tracking update and frame ticks.
- GameLoopEvent - Record Class in technology.sola.engine.core.event
- GameLoopEvent(GameLoopState) - Constructor for record class technology.sola.engine.core.event.GameLoopEvent
-
Creates an instance of a
GameLoopEvent
record class. - GameLoopState - Enum Class in technology.sola.engine.core.event
-
The current state of the
GameLoop
. - gap() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines the space between each child
GuiElement
of this element. - get() - Static method in class technology.sola.engine.assets.graphics.font.DefaultFont
-
Returns an instance of a Monospaced Normal 16
Font
. - get(Class<T>) - Method in class technology.sola.engine.assets.AssetLoaderProvider
-
Retrieves an
AssetLoader
for the desiredAsset
type via the asset's class. - get(String) - Method in class technology.sola.engine.assets.AssetLoader
-
Returns an
AssetHandle
for the asset requested or throws an exception if id to path mapping not found. - get(String, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a GET request. - getActiveAnimationId() - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
- getAlpha() - Method in class technology.sola.engine.graphics.Color
- getAmbientColor() - Method in class technology.sola.engine.defaults.graphics.modules.ScreenSpaceLightMapGraphicsModule
- getArea() - Method in record class technology.sola.math.geometry.Circle
- getArea() - Method in record class technology.sola.math.geometry.Rectangle
- getArea() - Method in interface technology.sola.math.geometry.Shape
-
Calculates the area of this shape and return it.
- getArea() - Method in record class technology.sola.math.geometry.Triangle
- getAspectMode() - Method in class technology.sola.engine.graphics.screen.Viewport
- getAspectRatioSizing() - Method in class technology.sola.engine.graphics.screen.Viewport
- getAsset() - Method in class technology.sola.engine.assets.AssetHandle
-
Gets the loaded
Asset
immediately, but throws a runtime exception if it is not yet loaded. - getAssetClass() - Method in class technology.sola.engine.assets.AssetLoader
- getAssetClass() - Method in class technology.sola.engine.assets.graphics.font.FontAssetLoader
- getAssetClass() - Method in class technology.sola.engine.assets.graphics.gui.GuiJsonDocumentAssetLoader
- getAssetClass() - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetAssetLoader
- getAssetClass() - Method in class technology.sola.engine.assets.input.ControlsConfigAssetLoader
- getAssetId() - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
- getAssetId() - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
- getAssetLoaderProvider() - Method in class technology.sola.engine.graphics.gui.GuiElement
- getBlendFunction() - Method in class technology.sola.engine.graphics.components.BlendModeComponent
- getBlendFunction() - Method in interface technology.sola.engine.graphics.renderer.Renderer
- getBlendFunction() - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- getBlue() - Method in class technology.sola.engine.graphics.Color
- getBody() - Method in class technology.sola.engine.networking.socket.SocketMessage
- getBoundingBox(TransformComponent) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Returns the bounding box for this ColliderComponent.
- getBoundingBox(TransformComponent, float, float) - Method in interface technology.sola.engine.physics.component.collider.ColliderShape
-
Returns the bounding box for this
ColliderShape
. - getBoundingBox(TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
- getBoundingBox(TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
- getBoundingBox(TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
- getBoundingBoxForTransform(int, int) - Method in class technology.sola.engine.graphics.AffineTransform
-
Returns the bounding box for this transform applied to a rectangle with width and height.
- getBoundingBoxForTransform(int, int) - Method in class technology.sola.math.linear.Matrix3D
-
Returns a bounding box for this matrix transform applied to a rectangle with width and height.
- getBounds() - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Gets the
GuiElementBounds
that contains the top, left and full width and height of the element. - getBucketIds() - Method in class technology.sola.engine.physics.utils.SpatialHashMap
- getCellSize() - Method in class technology.sola.engine.physics.utils.SpatialHashMap
- getCenter() - Method in record class technology.sola.math.geometry.Rectangle
- getCentroid() - Method in record class technology.sola.math.geometry.Circle
- getCentroid() - Method in interface technology.sola.math.geometry.Shape
-
Calculates and returns the centroid of this
Shape
. - getChildren() - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
-
ImageGuiElement does not render children so this method will return an empty List.
- getChildren() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
TextInputGuiElement does not render children so this method will return an empty List.
- getChildren() - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
-
ImageGuiElement does not render children so this method will return an empty List.
- getChildren() - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
-
TextGuiElement does not render children so this method will return an empty List.
- getChildren() - Method in class technology.sola.engine.graphics.gui.GuiElement
- getChildren() - Method in class technology.sola.engine.physics.utils.QuadTreeNode
- getCode() - Method in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Returns the integer representation of the font style.
- getCode() - Method in enum class technology.sola.engine.input.Key
- getCode() - Method in enum class technology.sola.engine.input.MouseButton
- getCollisionDetectionBroadPhase() - Method in class technology.sola.engine.physics.system.CollisionDetectionSystem
- getCollisionDetectionSystem() - Method in class technology.sola.engine.defaults.SolaPhysics
- getColor() - Method in class technology.sola.engine.graphics.components.CircleRendererComponent
- getColor() - Method in class technology.sola.engine.graphics.components.LightComponent
- getColor() - Method in class technology.sola.engine.graphics.components.RectangleRendererComponent
- getColor() - Method in class technology.sola.engine.graphics.components.TriangleRendererComponent
- getColor() - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent.Particle
- getContentBounds() - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Gets the
GuiElementBounds
that contains the top, left of where the content area begins and the width and height of the content area. - getCurrentDepth() - Method in class technology.sola.engine.physics.utils.QuadTreeNode
- getCurrentFrame() - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
- getDimensionsForText(String) - Method in class technology.sola.engine.assets.graphics.font.Font
-
Calculates and returns the
Font.TextDimensions
for a string of text that would be rendered with this font. - getDuration() - Method in class technology.sola.engine.graphics.components.SpriteKeyFrame
- getFirst() - Method in class technology.sola.engine.networking.NetworkQueue
- getFocusableChildren() - Method in class technology.sola.engine.graphics.gui.GuiElement
- getFont() - Method in interface technology.sola.engine.graphics.renderer.Renderer
- getFont() - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- getFontInfo() - Method in class technology.sola.engine.assets.graphics.font.Font
- getForceX() - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Gets the force currently applied on the horizontal axis.
- getForceY() - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Gets the force currently applied on the vertical axis.
- getForElement(GuiElement<Style, ?>) - Method in class technology.sola.engine.graphics.gui.style.theme.GuiTheme
- getFriction() - Method in class technology.sola.engine.physics.Material
-
Gets the friction of the material.
- getGlyph(char, Color) - Method in class technology.sola.engine.assets.graphics.font.Font
- getGraphicsModule(Class<T>) - Method in class technology.sola.engine.defaults.SolaGraphics
-
Gets a
SolaGraphicsModule
that has been added or else null. - getGravityConstant() - Method in class technology.sola.engine.physics.system.GravitySystem
- getGravitySystem() - Method in class technology.sola.engine.defaults.SolaPhysics
- getGreen() - Method in class technology.sola.engine.graphics.Color
- getHeight() - Method in class technology.sola.engine.graphics.Canvas
- getHeight() - Method in interface technology.sola.engine.graphics.renderer.Renderer
- getHeight() - Method in record class technology.sola.math.geometry.Rectangle
-
Gets the height of the rectangle.
- getId() - Method in class technology.sola.engine.graphics.gui.GuiElement
- getIdentifier() - Method in class technology.sola.engine.core.SolaPlatform
- getIgnoreTags() - Method in class technology.sola.engine.physics.component.ColliderComponent
- getImpulseCollisionResolutionSystem() - Method in class technology.sola.engine.defaults.SolaPhysics
- getInverseMass() - Method in class technology.sola.engine.physics.Material
-
Gets the inverse mass (1 / mass).
- getKeyEvent() - Method in class technology.sola.engine.graphics.gui.event.GuiKeyEvent
- getLast() - Method in class technology.sola.engine.networking.NetworkQueue
- getLayer() - Method in class technology.sola.engine.graphics.components.LayerComponent
- getLayer(String) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Gets a
Layer
by name. - getLayers() - Method in interface technology.sola.engine.graphics.renderer.Renderer
- getLayers() - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- getLogger(Class<?>) - Method in interface technology.sola.logging.SolaLoggerFactory
-
Creates a new
SolaLogger
for desiredClass
. - getLogger(Class<?>, String) - Method in class technology.sola.logging.JavaSolaLoggerFactory
- getLogger(Class<?>, String) - Method in interface technology.sola.logging.SolaLoggerFactory
-
Creates a new
SolaLogger
for desiredClass
. - getMass() - Method in class technology.sola.engine.physics.Material
-
Gets the mass of the material.
- getMaterial() - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Gets the
Material
of this DynamicBodyComponent. - getMaxLength() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
- getMouseEvent() - Method in class technology.sola.engine.graphics.gui.event.GuiMouseEvent
- getMousePosition() - Method in class technology.sola.engine.input.MouseInput
- getMouseWheel() - Method in class technology.sola.engine.input.MouseInput
-
Returns the last
MouseWheelEvent
that was received. - getName() - Method in enum class technology.sola.engine.assets.graphics.font.FontStyle
- getName() - Method in class technology.sola.engine.graphics.renderer.Layer
- getName() - Method in enum class technology.sola.engine.input.Key
- getNearbyViewEntries(View2Entry<ColliderComponent, TransformComponent>) - Method in class technology.sola.engine.physics.utils.SpatialHashMap
-
Returns a list of
ViewEntry
containing an Entity that is in the same bucket as the entity to check. - getNetworkQueue() - Method in class technology.sola.engine.networking.socket.JavaSocketClient
- getNetworkQueue() - Method in interface technology.sola.engine.networking.socket.SocketClient
- getNewAsset(String, String) - Method in class technology.sola.engine.assets.AssetLoader
-
Adds an asset id to path mapping and then returns an
AssetHandle
to the asset. - getNodeBounds() - Method in class technology.sola.engine.physics.utils.QuadTreeNode
- getObjectClass() - Method in class technology.sola.engine.assets.graphics.font.mapper.FontGlyphJsonMapper
- getObjectClass() - Method in class technology.sola.engine.assets.graphics.font.mapper.FontInfoJsonMapper
- getObjectClass() - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfoJsonMapper
- getObjectClass() - Method in class technology.sola.engine.assets.input.ControlsConfigJsonMapper
- getOffsetX() - Method in class technology.sola.engine.graphics.components.LightComponent
- getOffsetX() - Method in class technology.sola.engine.physics.component.ColliderComponent
- getOffsetY() - Method in class technology.sola.engine.graphics.components.LightComponent
- getOffsetY() - Method in class technology.sola.engine.physics.component.ColliderComponent
- getOrder() - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
- getOrder() - Method in class technology.sola.engine.defaults.graphics.modules.ScreenSpaceLightMapGraphicsModule
- getOrder() - Method in class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
-
Gets the order of this graphics module.
- getOrder() - Method in class technology.sola.engine.graphics.components.LayerComponent
- getOrder() - Method in class technology.sola.engine.physics.system.CollisionDetectionSystem
- getOrder() - Method in class technology.sola.engine.physics.system.GravitySystem
- getOrder() - Method in class technology.sola.engine.physics.system.ImpulseCollisionResolutionSystem
- getOrder() - Method in class technology.sola.engine.physics.system.PhysicsSystem
- getParent() - Method in class technology.sola.engine.graphics.gui.GuiElement
- getParentUniqueId() - Method in class technology.sola.engine.core.component.TransformComponent
- getParticleSystem() - Method in class technology.sola.engine.defaults.SolaPhysics
- getPhysicsSystem() - Method in class technology.sola.engine.defaults.SolaPhysics
- getPixel(float, float) - Method in class technology.sola.engine.graphics.Canvas
-
Returns the hex value of the pixel at desired coordinate on the canvas.
- getPixel(int, int) - Method in class technology.sola.engine.graphics.Canvas
-
Returns the hex value of the pixel at desired coordinate on the canvas.
- getPixels() - Method in class technology.sola.engine.graphics.Canvas
- getPlaceholder() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
- getPoints() - Method in record class technology.sola.math.geometry.Circle
- getPoints() - Method in record class technology.sola.math.geometry.Rectangle
- getPoints() - Method in interface technology.sola.math.geometry.Shape
- getPoints() - Method in record class technology.sola.math.geometry.Triangle
- getPosition() - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent.Particle
- getPriority() - Method in class technology.sola.engine.graphics.components.CameraComponent
-
The camera with the lowest priority value will be used during rendering.
- getPropertyValue(Function<Style, R>) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Gets the computer property value based on the
ConditionalStyle
s currently applied to theGuiElement
. - getPropertyValue(Function<Style, R>, R) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Gets the computer property value based on the
ConditionalStyle
s currently applied to theGuiElement
. - getRadius() - Method in class technology.sola.engine.graphics.components.LightComponent
- getRed() - Method in class technology.sola.engine.graphics.Color
- getRenderer() - Method in class technology.sola.engine.core.SolaPlatform
- getRendererToAspectRatioX() - Method in class technology.sola.engine.graphics.screen.Viewport
- getRendererToAspectRatioY() - Method in class technology.sola.engine.graphics.screen.Viewport
- getRestClient() - Method in class technology.sola.engine.core.SolaPlatform
- getRestitution() - Method in class technology.sola.engine.physics.Material
-
Gets the restitution (bounciness) of the material.
- getScaleX() - Method in class technology.sola.engine.core.component.TransformComponent
- getScaleY() - Method in class technology.sola.engine.core.component.TransformComponent
- getShape(TransformComponent) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Gets the geometric
Shape
representation of the collider for collision calculations. - getShape(TransformComponent, float, float) - Method in interface technology.sola.engine.physics.component.collider.ColliderShape
-
Gets the geometric
Shape
for this collider shape. - getShape(TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
- getShape(TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
- getShape(TransformComponent, float, float) - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
- getSize() - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent.Particle
- getSocketClient() - Method in class technology.sola.engine.core.SolaPlatform
- getSprite(String) - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheet
-
Gets a sprite's
SolaImage
by id. - getSprite(AssetLoader<SpriteSheet>) - Method in class technology.sola.engine.graphics.components.SpriteComponent
-
Returns an
AssetHandle
for theSolaImage
of the sprite. - getSpriteId() - Method in class technology.sola.engine.graphics.components.SpriteComponent
- getSpriteId() - Method in class technology.sola.engine.graphics.components.SpriteKeyFrame
- getSpriteId() - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
- getSpriteSheetId() - Method in class technology.sola.engine.graphics.components.SpriteComponent
- getSpriteSheetId() - Method in class technology.sola.engine.graphics.components.SpriteKeyFrame
- getSubImage(int, int, int, int) - Method in class technology.sola.engine.assets.graphics.SolaImage
-
Creates a new
SolaImage
that is a sub-image of thisSolaImage
. - getSystems() - Method in class technology.sola.engine.defaults.SolaGraphics
- getSystems() - Method in class technology.sola.engine.defaults.SolaPhysics
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.ButtonElementJsonBlueprint
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.ImageElementJsonBlueprint
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.SectionElementJsonBlueprint
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.SpriteElementJsonBlueprint
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.TextElementJsonBlueprint
- getTag() - Method in class technology.sola.engine.graphics.gui.json.element.TextInputElementJsonBlueprint
- getTags() - Method in class technology.sola.engine.physics.component.ColliderComponent
- getText() - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
- getTransformForAppliedCamera(TransformComponent, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.SolaEntityGraphicsModule
-
Utility method for calculating the transform when a camera's transform is applied to another transform.
- getTranslate() - Method in class technology.sola.engine.core.component.TransformComponent
- getTriangle() - Method in class technology.sola.engine.graphics.components.TriangleRendererComponent
- getType() - Static method in class technology.sola.engine.input.KeyboardLayout
- getType() - Method in class technology.sola.engine.networking.socket.SocketMessage
- getType() - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Gets the
ColliderType
of this collider. - getValue() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
- getValue(int) - Method in class technology.sola.engine.graphics.gui.style.property.StyleValue
-
Gets the resolved value based on a parent's dimension.
- getVelocity() - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
- getViewport() - Method in class technology.sola.engine.core.SolaPlatform
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.CircleEntityGraphicsModule
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.ParticleEmitterEntityGraphicsModule
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.RectangleEntityGraphicsModule
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.SolaEntityGraphicsModule
-
Returns a
View
ofEntity
that need to be rendered viaSolaEntityGraphicsModule.renderEntity(Renderer, V, TransformComponent)
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.SpriteEntityGraphicsModule
- getViewToRender(World) - Method in class technology.sola.engine.defaults.graphics.modules.TriangleEntityGraphicsModule
- getVolume() - Method in interface technology.sola.engine.assets.audio.AudioClip
- getWidth() - Method in class technology.sola.engine.graphics.Canvas
- getWidth() - Method in interface technology.sola.engine.graphics.renderer.Renderer
- getWidth() - Method in record class technology.sola.math.geometry.Rectangle
-
Gets the width of the rectangle.
- getX() - Method in class technology.sola.engine.core.component.TransformComponent
- getY() - Method in class technology.sola.engine.core.component.TransformComponent
- glyph() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns the value of the
glyph
record component. - glyphs() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns the value of the
glyphs
record component. - GravitySystem - Class in technology.sola.engine.physics.system
-
GravitySystem is an
EcsSystem
that applies a gravity constant of force to allEntity
that have aDynamicBodyComponent
, are not kinematic and not grounded. - GravitySystem(EventHub) - Constructor for class technology.sola.engine.physics.system.GravitySystem
-
Creates a GravitySystem instance and registers event listeners to
CollisionEvent
to handle updating the grounding of dynamic bodies. - GravitySystem(EventHub, float) - Constructor for class technology.sola.engine.physics.system.GravitySystem
-
Creates a GravitySystem instance with desired gravity constant and registers event listeners to
CollisionEvent
to handle updating the grounding of dynamic bodies. - GREEN - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(0, 255, 0).
- greyScale() - Method in class technology.sola.engine.graphics.Color
-
Creates a grey scale Color using this Color as the base.
- guiDocument() - Method in class technology.sola.engine.defaults.SolaWithDefaults
-
The
GuiDocument
instance for this Sola. - GuiDocument - Class in technology.sola.engine.graphics.gui
-
GuiDocument is a container for
GuiElement
that also handles passing various key and mouse events to the currently active root element set viaGuiDocument.setRootElement(GuiElement)
. - GuiDocument(SolaPlatform, AssetLoaderProvider, MouseInput) - Constructor for class technology.sola.engine.graphics.gui.GuiDocument
-
Creates a new GuiDocument instance, registering listeners for key and mouse related events.
- GuiElement<Style extends BaseStyles,
ElementType extends GuiElement<Style, ElementType>> - Class in technology.sola.engine.graphics.gui -
GuiElement is the base class for all elements that can be rendered in a
GuiDocument
. - GuiElement() - Constructor for class technology.sola.engine.graphics.gui.GuiElement
-
Creates and initializes a new GuiElement instance.
- GuiElementBounds - Record Class in technology.sola.engine.graphics.gui
-
GuiElementBounds holds the information for the bounding box for part of
GuiElement
. - GuiElementBounds(int, int, int, int) - Constructor for record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Creates an instance of a
GuiElementBounds
record class. - GuiElementDimensions - Record Class in technology.sola.engine.graphics.gui
-
GuiElementDimensions holds the width and height of a
GuiElement
measurement. - GuiElementDimensions(int, int) - Constructor for record class technology.sola.engine.graphics.gui.GuiElementDimensions
-
Creates an instance of a
GuiElementDimensions
record class. - GuiElementEvents - Class in technology.sola.engine.graphics.gui.event
-
GuiElementEvents is a container for the
GuiEventListenerList
s for various event types forGuiElement
s. - GuiElementEvents() - Constructor for class technology.sola.engine.graphics.gui.event.GuiElementEvents
- GuiElementJsonBlueprint<Styles extends BaseStyles,
Element extends GuiElement<Styles, ?>, StylesBuilder extends BaseStyles.Builder<?>> - Class in technology.sola.engine.graphics.gui.json.element -
GuiElementJsonBlueprint provides functionality for building a
GuiElement
with its styles from JSON. - GuiElementJsonBlueprint(StylesJsonValueParser<StylesBuilder>) - Constructor for class technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint
-
Creates an instance of this blueprint.
- GuiEvent - Class in technology.sola.engine.graphics.gui.event
-
GuiEvent defines the general api for gui specific events.
- GuiEvent() - Constructor for class technology.sola.engine.graphics.gui.event.GuiEvent
- GuiEventListener<E extends GuiEvent> - Interface in technology.sola.engine.graphics.gui.event
-
GuiEventListener
GuiEventListener.onEvent(GuiEvent)
method is called whenever the event of the type is emitted. - GuiEventListenerList<E extends GuiEvent> - Class in technology.sola.engine.graphics.gui.event
-
GuiEventListenerList is a data structure that holds
GuiEventListener
s for a particular kind ofGuiEvent
. - GuiEventListenerList() - Constructor for class technology.sola.engine.graphics.gui.event.GuiEventListenerList
- GuiEventSubscription - Interface in technology.sola.engine.graphics.gui.event
-
GuiEventSubscription is the handle to the event subscriber when it is registered to a
GuiEventListenerList
. - GuiJsonDocument - Record Class in technology.sola.engine.assets.graphics.gui
-
GuiJsonDocument as an
Asset
containing aGuiElement
and its children that were loaded from a JSON file. - GuiJsonDocument(GuiElement<?, ?>) - Constructor for record class technology.sola.engine.assets.graphics.gui.GuiJsonDocument
-
Creates an instance of a
GuiJsonDocument
record class. - GuiJsonDocumentAssetLoader - Class in technology.sola.engine.assets.graphics.gui
-
GuiJsonDocumentAssetLoader is an
AssetLoader
forGuiJsonDocument
s. - GuiJsonDocumentAssetLoader(AssetLoader<JsonElementAsset>, GuiJsonDocumentBuilder) - Constructor for class technology.sola.engine.assets.graphics.gui.GuiJsonDocumentAssetLoader
-
Creates an instance of this asset loader.
- GuiJsonDocumentBuilder - Class in technology.sola.engine.graphics.gui.json
-
GuiJsonDocumentBuilder handles building
GuiJsonDocument
instances from aJsonObject
. - GuiJsonDocumentBuilder(GuiTheme, List<GuiElementJsonBlueprint<?, ?, ?>>) - Constructor for class technology.sola.engine.graphics.gui.json.GuiJsonDocumentBuilder
-
Creates an instance of GuiJsonDocumentBuilder with desired
GuiElementJsonBlueprint
s. - GuiKeyEvent - Class in technology.sola.engine.graphics.gui.event
- GuiKeyEvent(KeyEvent) - Constructor for class technology.sola.engine.graphics.gui.event.GuiKeyEvent
-
Creates an instance of the event.
- GuiMouseEvent - Class in technology.sola.engine.graphics.gui.event
-
GuiKeyEvent is a
GuiEvent
implementation forGuiMouseEvent
s. - GuiMouseEvent(MouseEvent) - Constructor for class technology.sola.engine.graphics.gui.event.GuiMouseEvent
-
Creates an instance of the event.
- GuiTheme - Class in technology.sola.engine.graphics.gui.style.theme
-
GuiTheme instances contain
GuiElement
toBaseStyles
mappings that can be applied to a specific element or an element and all its children. - GuiTheme() - Constructor for class technology.sola.engine.graphics.gui.style.theme.GuiTheme
H
- H - Enum constant in enum class technology.sola.engine.input.Key
-
H key.
- hasActiveCondition() - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
- hasAlpha() - Method in class technology.sola.engine.graphics.Color
- hasAssetMapping(String) - Method in class technology.sola.engine.assets.AssetLoader
-
Checks to see if an asset mapping has already been added to this loader.
- hasGlyph(char) - Method in class technology.sola.engine.assets.graphics.font.Font
-
Checks to see if this Font has a glyph registered for rendering.
- hashCode() - Method in record class technology.sola.engine.assets.graphics.font.Font.TextDimensions
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.graphics.gui.GuiJsonDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.input.ControlInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.input.ControlsConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.input.KeyControlInputCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.input.MouseWheelControlInputCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.assets.json.JsonElementAsset
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.core.event.GameLoopEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.core.SolaConfiguration
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.core.SolaPlatform.MouseCoordinate
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Returns a hash code value for this object.
- hashCode() - Method in class technology.sola.engine.graphics.Color
- hashCode() - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.GuiElementDimensions
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.style.property.Background
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.gui.style.property.Position
-
Returns a hash code value for this object.
- hashCode() - Method in class technology.sola.engine.graphics.gui.style.property.StyleValue
- hashCode() - Method in record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.input.KeyEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.input.MouseEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.networking.rest.HttpResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.CollisionManifold
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.event.CollisionEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.event.SensorEvent
-
Returns a hash code value for this object.
- hashCode() - Method in class technology.sola.engine.physics.Material
- hashCode() - Method in record class technology.sola.engine.physics.MinimumTranslationVector
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.engine.physics.utils.SpatialHashMap.BucketId
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.math.geometry.Circle
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.math.geometry.Line
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.math.geometry.Rectangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.math.geometry.Triangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class technology.sola.math.linear.Vector2D
-
Returns a hash code value for this object.
- hasHoverCondition() - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
- hasIgnoreColliderTag(ColliderTag) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Checks to see if this collider has a
ColliderTag
that it is ignoring. - hasListeners() - Method in class technology.sola.engine.graphics.gui.event.GuiEventListenerList
- hasSameBounds(SpriteInfo) - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Checks to see if this sprite info has the same boundaries that another sprite does.
- hasShift(int) - Static method in class technology.sola.engine.input.KeyboardLayout
-
Checks to see if a keyCode has a shifted variant character or not.
- hasTag(ColliderTag) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Checks to see if this collider has a
ColliderTag
. - headingVectorFromAngle(double) - Static method in record class technology.sola.math.linear.Vector2D
-
Creates a vector from a heading angle.
- height - Variable in class technology.sola.engine.graphics.Canvas
-
The height of the canvas.
- height() - Method in record class technology.sola.engine.assets.graphics.font.Font.TextDimensions
-
Returns the value of the
height
record component. - height() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns the value of the
height
record component. - height() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns the value of the
height
record component. - height() - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Returns the value of the
height
record component. - height() - Method in record class technology.sola.engine.graphics.gui.GuiElementDimensions
-
Returns the value of the
height
record component. - height() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines the preferred height of the
GuiElement
. - height() - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Returns the value of the
height
record component. - height() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Returns the value of the
height
record component. - HEIGHT - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.height()
. - HELD - Enum constant in enum class technology.sola.engine.assets.input.KeyControlInputCondition.State
-
The condition is considered active if the
Key
is held. - hexInt() - Method in class technology.sola.engine.graphics.Color
- HIDDEN - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Visibility
-
Element will not render, but it will continue to take up its space in the layout.
- HOME - Enum constant in enum class technology.sola.engine.input.Key
-
Home key.
- hover(Style) - Static method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Creates a ConditionalStyle instance for a style that will be applied when the
GuiElement
is hovered. - HttpResponse - Record Class in technology.sola.engine.networking.rest
-
HttpResponse contains details from the server's response to an http request.
- HttpResponse(int, JsonElement) - Constructor for record class technology.sola.engine.networking.rest.HttpResponse
-
Creates an instance of a
HttpResponse
record class. - HYPHEN - Enum constant in enum class technology.sola.engine.input.Key
-
Hyphen key.
I
- I - Enum constant in enum class technology.sola.engine.input.Key
-
I key.
- id() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns the value of the
id
record component. - identity() - Static method in class technology.sola.math.linear.Matrix3D
- IGNORE_RESIZING - Enum constant in enum class technology.sola.engine.graphics.screen.AspectMode
-
Resizing the window will not cause a change in the rendered output.
- ImageElementJsonBlueprint - Class in technology.sola.engine.graphics.gui.json.element
- ImageElementJsonBlueprint() - Constructor for class technology.sola.engine.graphics.gui.json.element.ImageElementJsonBlueprint
-
Creates an instance of this
GuiElementJsonBlueprint
. - ImageGuiElement - Class in technology.sola.engine.graphics.gui.elements
-
ImageGuiElement is a
GuiElement
that renders aSolaImage
in a GUI. - ImageGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.ImageGuiElement
- ImpulseCollisionResolutionSystem - Class in technology.sola.engine.physics.system
-
ImpulseCollisionResolutionSystem is an
EcsSystem
that responds toCollisionEvent
s applying an impulse to resolve collisions so that they will no longer overlap. - ImpulseCollisionResolutionSystem(EventHub) - Constructor for class technology.sola.engine.physics.system.ImpulseCollisionResolutionSystem
-
Creates an instance with recommended settings.
- ImpulseCollisionResolutionSystem(EventHub, int) - Constructor for class technology.sola.engine.physics.system.ImpulseCollisionResolutionSystem
-
Creates an instance with custom iterations and recommended penetrationSlack and linearProjectionPercentage settings.
- ImpulseCollisionResolutionSystem(EventHub, int, float, float) - Constructor for class technology.sola.engine.physics.system.ImpulseCollisionResolutionSystem
-
Creates an instance with custom settings.
- info(String) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.INFO
. - info(String, Object...) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.INFO
. - INFO - Enum constant in enum class technology.sola.logging.SolaLogLevel
-
INFO is a message level for general information that may or may not be useful depending on the context.
- initializePlatform(SolaConfiguration, SolaPlatform.SolaPlatformInitialization) - Method in class technology.sola.engine.core.SolaPlatform
-
Method to initialize a
SolaPlatform
. - insert(QuadTreeNode.QuadTreeData) - Method in class technology.sola.engine.physics.utils.QuadTreeNode
-
Inserts an entry into the quad tree.
- INSERT - Enum constant in enum class technology.sola.engine.input.Key
-
Insert key.
- intersects(Rectangle) - Method in record class technology.sola.math.geometry.Rectangle
-
Checks to see if this Rectangle intersects with another Rectangle.
- invalidate() - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Invalidates the cached condition evaluations if a change has happened.
- invalidateLayout() - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Invalidates the layout for this element so that it will be recalculated next frame.
- invert() - Method in class technology.sola.math.linear.Matrix3D
-
Creates and returns a new
Matrix3D
that is the inverse of this matrix. - isAbleToPropagate() - Method in class technology.sola.engine.graphics.gui.event.GuiEvent
-
Returns whether this event will propagate to child elements or not.
- isAbsolute() - Method in record class technology.sola.engine.graphics.gui.style.property.Position
-
Checks if this Position is absolute or not.
- isActive() - Method in class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
- isActive() - Method in class technology.sola.engine.graphics.gui.elements.input.BaseInputGuiElement
- isActive() - Method in class technology.sola.engine.graphics.gui.GuiElement
-
The active state is for when an element is being interacted with (space key press or mouse pressed).
- isActive() - Method in class technology.sola.engine.graphics.renderer.Layer
-
Return if this layer is active or not.
- isActive(String) - Method in class technology.sola.engine.input.SolaControls
-
Checks to see if specified control is currently active.
- isActive(KeyboardInput, MouseInput) - Method in interface technology.sola.engine.assets.input.ControlInputCondition
-
Checks the state of the input to see if the condition is active or not.
- isActive(KeyboardInput, MouseInput) - Method in record class technology.sola.engine.assets.input.KeyControlInputCondition
- isActive(KeyboardInput, MouseInput) - Method in record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
- isActive(KeyboardInput, MouseInput) - Method in record class technology.sola.engine.assets.input.MouseWheelControlInputCondition
- isActiveStyle() - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
- isAlive() - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent.Particle
- isConnected() - Method in class technology.sola.engine.networking.socket.JavaSocketClient
- isConnected() - Method in interface technology.sola.engine.networking.socket.SocketClient
- isDisabled() - Method in class technology.sola.engine.graphics.gui.elements.input.BaseInputGuiElement
-
A disabled input cannot be focussed, hovered or active.
- isDown() - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Returns the value of the
isDown
record component. - isEmpty() - Method in class technology.sola.engine.networking.NetworkQueue
- isFilled() - Method in class technology.sola.engine.graphics.components.CircleRendererComponent
- isFilled() - Method in class technology.sola.engine.graphics.components.RectangleRendererComponent
- isFilled() - Method in class technology.sola.engine.graphics.components.TriangleRendererComponent
- isFocusable() - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
-
ImageGuiElement is not focusable so this will return false.
- isFocusable() - Method in class technology.sola.engine.graphics.gui.elements.input.BaseInputGuiElement
- isFocusable() - Method in class technology.sola.engine.graphics.gui.elements.SectionGuiElement
- isFocusable() - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
-
ImageGuiElement is not focusable so this will return false.
- isFocusable() - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
-
TextGuiElement is not focusable so this will return false.
- isFocusable() - Method in class technology.sola.engine.graphics.gui.GuiElement
- isFocussed() - Method in class technology.sola.engine.graphics.gui.GuiElement
- isFocussed(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.GuiDocument
-
Checks to see if a
GuiElement
currently has focus. - isGrounded() - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Gets whether or no this DynamicBodyComponent is considered grounded.
- isHovered() - Method in class technology.sola.engine.graphics.gui.elements.input.BaseInputGuiElement
- isHovered() - Method in class technology.sola.engine.graphics.gui.GuiElement
- isHoverStyle() - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
- isKeyHeld(int) - Method in class technology.sola.engine.input.KeyboardInput
-
Checks if a key is held based on its keycode.
- isKeyHeld(Key) - Method in class technology.sola.engine.input.KeyboardInput
-
Checks if a
Key
is held. - isKeyPressed(int) - Method in class technology.sola.engine.input.KeyboardInput
-
Checks if a key is pressed based on its keycode.
- isKeyPressed(Key) - Method in class technology.sola.engine.input.KeyboardInput
-
Checks if a
Key
is pressed. - isKinematic() - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
A kinematic dynamic body will not respond to external forces applied to it.
- isLayoutChanged() - Method in class technology.sola.engine.graphics.gui.GuiElement
- isLeft() - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Returns the value of the
isLeft
record component. - isLoading() - Method in class technology.sola.engine.assets.AssetHandle
- isMouseDragged(MouseButton) - Method in class technology.sola.engine.input.MouseInput
-
Checks if a
MouseButton
is being dragged or not. - isMousePressed(MouseButton) - Method in class technology.sola.engine.input.MouseInput
-
Checks if a
MouseButton
is pressed or not. - isPaused() - Method in class technology.sola.engine.core.GameLoop
- isPercentage() - Method in class technology.sola.engine.graphics.gui.style.property.StyleValue
- isPlaying() - Method in interface technology.sola.engine.assets.audio.AudioClip
- isRenderingBoundingBoxes() - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Whether
ColliderComponent.getBoundingBox(TransformComponent)
debug rendering is enabled or not. - isRenderingBroadPhase() - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Whether
CollisionDetectionBroadPhase
debug rendering is enabled or not. - isRenderingColliders() - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Whether
ColliderComponent.getShape(TransformComponent)
debug rendering is enabled or not. - isRight() - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Returns the value of the
isRight
record component. - isRunning() - Method in class technology.sola.engine.core.GameLoop
- isSensor() - Method in class technology.sola.engine.physics.component.ColliderComponent
-
A collider that is a sensor will not respond to collision resolution but will emit collision events if an
Entity
with aDynamicBodyComponent
collides. - isUp() - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Returns the value of the
isUp
record component. - ITALIC - Enum constant in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Italic styling.
J
- J - Enum constant in enum class technology.sola.engine.input.Key
-
J key.
- JAVA_FX - Static variable in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Identifier for the JavaFx
SolaPlatform
implementation. - JavaRestClient - Class in technology.sola.engine.networking.rest
-
The Java-based implementation of
RestClient
utilizingHttpURLConnection
. - JavaRestClient() - Constructor for class technology.sola.engine.networking.rest.JavaRestClient
- JavaSocketClient - Class in technology.sola.engine.networking.socket
-
A Java-based implementation of
SocketClient
utilizingSocket
. - JavaSocketClient() - Constructor for class technology.sola.engine.networking.socket.JavaSocketClient
- JavaSolaLogger - Class in technology.sola.logging
-
JavaSolaLogger is a
SolaLogger
implementation powered byLogger
. - JavaSolaLogger(Logger) - Constructor for class technology.sola.logging.JavaSolaLogger
-
Creates a JavaSolaLogger instance.
- JavaSolaLoggerFactory - Class in technology.sola.logging
-
JavaSolaLoggerFactory is a
SolaLoggerFactory
implementation for desktop platforms (JavaFX and Swing). - JavaSolaLoggerFactory() - Constructor for class technology.sola.logging.JavaSolaLoggerFactory
- jsonElement() - Method in record class technology.sola.engine.assets.json.JsonElementAsset
-
Returns the value of the
jsonElement
record component. - JsonElementAsset - Record Class in technology.sola.engine.assets.json
-
Represents a JSON file
Asset
that was loaded. - JsonElementAsset(JsonElement) - Constructor for record class technology.sola.engine.assets.json.JsonElementAsset
-
Creates an instance of a
JsonElementAsset
record class.
K
- K - Enum constant in enum class technology.sola.engine.input.Key
-
K key.
- key() - Method in record class technology.sola.engine.assets.input.KeyControlInputCondition
-
Returns the value of the
key
record component. - Key - Enum Class in technology.sola.engine.input
-
Key enum contains information about keyboard keys.
- keyboardInput - Variable in class technology.sola.engine.core.Sola
-
Used to check current state of keyboard input.
- KeyboardInput - Class in technology.sola.engine.input
-
KeyboardInput contains information about user interaction with the keyboard.
- KeyboardInput() - Constructor for class technology.sola.engine.input.KeyboardInput
-
Creates a KeyboardInput instance initializing the state of all keys to be released.
- KeyboardInputException - Exception in technology.sola.engine.input
-
KeyboardInputException is an exception thrown when a key event is triggered with an unrecognized key code.
- KeyboardLayout - Class in technology.sola.engine.input
-
KeyboardLayout contains information for the current keyboard layout.
- KeyboardLayout.Type - Enum Class in technology.sola.engine.input
-
The type of keyboard.
- keyCode() - Method in record class technology.sola.engine.input.KeyEvent
-
Returns the value of the
keyCode
record component. - KeyControlInputCondition - Record Class in technology.sola.engine.assets.input
-
KeyControlInputCondition is a
ControlInputCondition
to check if aKey
is in an active state. - KeyControlInputCondition(Key, KeyControlInputCondition.State) - Constructor for record class technology.sola.engine.assets.input.KeyControlInputCondition
-
Creates an instance of a
KeyControlInputCondition
record class. - KeyControlInputCondition.State - Enum Class in technology.sola.engine.assets.input
-
The possible states for
KeyControlInputCondition
. - KeyEvent - Record Class in technology.sola.engine.input
-
KeyEvent contains data for a keyboard related event.
- KeyEvent(int) - Constructor for record class technology.sola.engine.input.KeyEvent
-
Creates an instance of a
KeyEvent
record class. - keyPressed() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- keyReleased() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- keyReleased(KeyEvent) - Method in class technology.sola.engine.input.KeyboardInput
-
Called on release of a key.
L
- L - Enum constant in enum class technology.sola.engine.input.Key
-
L key.
- Layer - Class in technology.sola.engine.graphics.renderer
-
Layers contain a queue of
DrawItem
to ensure a particular draw order. - Layer(String) - Constructor for class technology.sola.engine.graphics.renderer.Layer
-
Creates a Layer with an identifier name.
- LayerComponent - Class in technology.sola.engine.graphics.components
-
LayerComponent is a
Component
that contains data for a 2d rendering layers for anEntity
. - LayerComponent(String) - Constructor for class technology.sola.engine.graphics.components.LayerComponent
-
Creates a LayerComponent for the desired layer with default ordering.
- LayerComponent(String, int) - Constructor for class technology.sola.engine.graphics.components.LayerComponent
-
Creates a LayerComponent for the desired layer with default ordering.
- leading() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns the value of the
leading
record component. - left() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns the value of the
left
record component. - left() - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Returns the value of the
left
record component. - LEFT - Enum constant in enum class technology.sola.engine.assets.input.MouseWheelControlInputCondition.State
-
Mouse wheel was moved left.
- LEFT - Enum constant in enum class technology.sola.engine.input.Key
-
Left key.
- LEFT_BRACKET - Enum constant in enum class technology.sola.engine.input.Key
-
Left Bracket key.
- lerp(float, float, float) - Static method in class technology.sola.math.SolaMath
-
Linearly interpolates a value between start and end.
- lerp(float, float, float, EasingFunction) - Static method in class technology.sola.math.SolaMath
-
Interpolates a value between start and end via desired
EasingFunction
. - lerp(Vector2D, Vector2D, float) - Static method in class technology.sola.math.SolaMath
-
Linearly interpolates a
Vector2D
value between start and end. - lerp(Vector2D, Vector2D, float, EasingFunction) - Static method in class technology.sola.math.SolaMath
-
Interpolates a
Vector2D
value between start and end via desiredEasingFunction
. - LIGHT_BLUE - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(173, 216, 230).
- LIGHT_GRAY - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(211, 211, 211)
- LightComponent - Class in technology.sola.engine.graphics.components
-
LightComponent is a
Component
containing data for rendering lights. - LightComponent(float) - Constructor for class technology.sola.engine.graphics.components.LightComponent
-
Creates a fully bright, white point light with radius.
- LightComponent(float, Color) - Constructor for class technology.sola.engine.graphics.components.LightComponent
-
Creates a point light with radius and
Color
. - LIGHTEN - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Takes the max value of each channel for the destination pixel; alpha, red, green, blue.
- LightenBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
Takes the max value of each channel for the destination pixel; alpha, red, green, blue.
- LightenBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.LightenBlendFunction
- LightFlicker - Record Class in technology.sola.engine.graphics.components
-
LightFlicker
- LightFlicker(float, float) - Constructor for record class technology.sola.engine.graphics.components.LightFlicker
-
Creates a LightFlicker instance with a low flicker rate and a running average smoothing function.
- LightFlicker(float, float, float, LightFlicker.FlickerSmoothing) - Constructor for record class technology.sola.engine.graphics.components.LightFlicker
-
Creates an instance of a
LightFlicker
record class. - LightFlicker.FlickerSmoothing - Interface in technology.sola.engine.graphics.components
-
Defines the API for the function called to smooth the transition between the current and next light intensity values.
- LightFlickerSystem - Class in technology.sola.engine.graphics.system
-
LightFlickerSystem is an
EcsSystem
that handles updating the flicker data of aLightComponent
. - LightFlickerSystem() - Constructor for class technology.sola.engine.graphics.system.LightFlickerSystem
- Line - Record Class in technology.sola.math.geometry
-
Line represents a geometric line with two points.
- Line(Vector2D, Vector2D) - Constructor for record class technology.sola.math.geometry.Line
-
Creates an instance of a
Line
record class. - LINEAR - Static variable in interface technology.sola.math.EasingFunction
-
Function that is linear over time.
- LINEAR_DODGE - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Adds the top and bottom pixels together ignoring alpha.
- LinearDodgeBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
Adds the top and bottom pixels together ignoring alpha.
- LinearDodgeBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.LinearDodgeBlendFunction
- lineHeight() - Method in record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Returns the value of the
lineHeight
record component. - lines() - Method in record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Returns the value of the
lines
record component. - loadAll() - Method in class technology.sola.engine.assets.BulkAssetLoader
-
Starts loading all the
Asset
s that have been added returning aBulkAssetLoader.BulkAssetHandle
where callbacks can be added to for being notified when loading finishes. - loadAsset(String) - Method in class technology.sola.engine.assets.AssetLoader
-
Returns an
AssetHandle
for the specified path and beings loading theAsset
. - loadAsset(String) - Method in class technology.sola.engine.assets.graphics.font.FontAssetLoader
- loadAsset(String) - Method in class technology.sola.engine.assets.graphics.gui.GuiJsonDocumentAssetLoader
- loadAsset(String) - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetAssetLoader
- loadAsset(String) - Method in class technology.sola.engine.assets.input.ControlsConfigAssetLoader
- log(SolaLogLevel, String, Throwable, Object...) - Method in class technology.sola.logging.JavaSolaLogger
- log(SolaLogLevel, String, Throwable, Object...) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at desired
SolaLogLevel
. - loop() - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Continues playing the AudioClip until pause or stop is called.
- loop(int) - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Continues playing the AudioClip for a number of times or until pause or stop is called.
M
- M - Enum constant in enum class technology.sola.engine.input.Key
-
M key.
- magnitude() - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the magnitude of this vector (the distance from origin).
- magnitudeSq() - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the magnitude squared of this vector.
- MAIN_AXIS_CHILDREN - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.mainAxisChildren()
. - mainAxisChildren() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines how child elements will align on the main axis (based on the
BaseStyles.direction()
). - MainAxisChildren - Enum Class in technology.sola.engine.graphics.gui.style.property
-
MainAxisChildren defines how a
GuiElement
's children when be positioned when extra space is available on the main axis defined by itsDirection
. - MAINTAIN - Enum constant in enum class technology.sola.engine.graphics.screen.AspectMode
-
Resizing the window will cause the rendered output to change while maintaining the original aspect ratio.
- MASK - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Transparent if
alpha < 255
(bottom pixel used). - MaskBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
Transparent if
alpha < 255
(bottom pixel used). - MaskBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.MaskBlendFunction
- Material - Class in technology.sola.engine.physics
-
Material represents a physical material for physics simulations.
- Material(float) - Constructor for class technology.sola.engine.physics.Material
-
Creates a material with custom mass.
- Material(float, float) - Constructor for class technology.sola.engine.physics.Material
-
Creates a material with custom mass and restitution.
- Material(float, float, float) - Constructor for class technology.sola.engine.physics.Material
-
Creates a material with custom mass, restitution and friction.
- Matrix3D - Class in technology.sola.math.linear
-
Credit to OneLoneCoder for guiding through this implementation
- Matrix3D() - Constructor for class technology.sola.math.linear.Matrix3D
- max() - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Returns the value of the
max
record component. - max() - Method in record class technology.sola.math.geometry.Rectangle
-
Returns the value of the
max
record component. - MergeableProperty<P extends MergeableProperty<?>> - Interface in technology.sola.engine.graphics.gui.style.property
-
MergeableProperty defines the contract for a style property that can be merged with another like type property.
- mergeWith(P) - Method in interface technology.sola.engine.graphics.gui.style.property.MergeableProperty
-
Returns a new instance of the property with the resulting values being a merge of the right on top of the left.
- mergeWith(Background) - Method in record class technology.sola.engine.graphics.gui.style.property.Background
- mergeWith(Border) - Method in record class technology.sola.engine.graphics.gui.style.property.Border
- mergeWith(Padding) - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
- mergeWith(Position) - Method in record class technology.sola.engine.graphics.gui.style.property.Position
- MIDDLE - Enum constant in enum class technology.sola.engine.input.MouseButton
-
Represents middle (button 2) mouse button.
- min() - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Returns the value of the
min
record component. - min() - Method in record class technology.sola.math.geometry.Rectangle
-
Returns the value of the
min
record component. - MinimumTranslationVector - Record Class in technology.sola.engine.physics
-
The minimum translation vector contains the information needed to resolve a collision.
- MinimumTranslationVector(Vector2D, float) - Constructor for record class technology.sola.engine.physics.MinimumTranslationVector
-
Creates an instance of a
MinimumTranslationVector
record class. - MissingAssetException - Exception in technology.sola.engine.assets.exception
-
Exception thrown when a
Asset
is requested but has not been registered with anAssetLoader
. - MissingAssetException(String) - Constructor for exception technology.sola.engine.assets.exception.MissingAssetException
-
Creates an instances of this exception.
- MissingAssetLoaderException - Exception in technology.sola.engine.assets.exception
-
Exception that is thrown when an
AssetLoader
is requested but has no implementation provided. - MissingAssetLoaderException(Class<? extends Asset>) - Constructor for exception technology.sola.engine.assets.exception.MissingAssetLoaderException
-
Creates an instance of this exception.
- MissingGlyphException - Exception in technology.sola.engine.assets.graphics.font.exception
- MissingGlyphException(char, FontInfo) - Constructor for exception technology.sola.engine.assets.graphics.font.exception.MissingGlyphException
-
Creates an instance of this exception.
- MissingGuiElementJsonBlueprintException - Exception in technology.sola.engine.graphics.gui.json.exception
-
Exception thrown when reading a GUI JSON file that uses a tag that has not been registered in the
GuiJsonDocumentBuilder
. - MissingGuiElementJsonBlueprintException(String) - Constructor for exception technology.sola.engine.graphics.gui.json.exception.MissingGuiElementJsonBlueprintException
-
Creates an instance of this exception for the tag that was not registered.
- Mobile - Enum constant in enum class technology.sola.engine.core.SolaPlatformType
-
The mobile platform type is used for platforms implemented for Android or iOS.
- MouseButton - Enum Class in technology.sola.engine.input
-
MouseButton enum contains information about mouse buttons.
- MouseButtonControlInputCondition - Record Class in technology.sola.engine.assets.input
-
MouseButtonInputCondition is a
ControlInputCondition
to check if aMouseButton
is in an active state. - MouseButtonControlInputCondition(MouseButton, MouseButtonControlInputCondition.State) - Constructor for record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
-
Creates an instance of a
MouseButtonControlInputCondition
record class. - MouseButtonControlInputCondition.State - Enum Class in technology.sola.engine.assets.input
-
The possible states for
MouseButtonControlInputCondition
. - MouseCoordinate(int, int) - Constructor for record class technology.sola.engine.core.SolaPlatform.MouseCoordinate
-
Creates an instance of a
MouseCoordinate
record class. - mouseEntered() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- MouseEvent - Record Class in technology.sola.engine.input
-
MouseEvent contains data for a mouse related event.
- MouseEvent(int, int, int) - Constructor for record class technology.sola.engine.input.MouseEvent
-
Creates a MouseEvent via the
MouseButton.getCode()
. - MouseEvent(MouseButton, int, int) - Constructor for record class technology.sola.engine.input.MouseEvent
-
Creates an instance of a
MouseEvent
record class. - mouseExited() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- mouseInput - Variable in class technology.sola.engine.core.Sola
-
Used to check current state of mouse input.
- MouseInput - Class in technology.sola.engine.input
-
MouseInput contains information about user interaction with the mouse.
- MouseInput() - Constructor for class technology.sola.engine.input.MouseInput
- mouseMoved() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- mousePressed() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- mouseReleased() - Method in class technology.sola.engine.graphics.gui.event.GuiElementEvents
- MouseWheelControlInputCondition - Record Class in technology.sola.engine.assets.input
-
MouseWheelControlInputCondition is a
ControlInputCondition
to check if the mouse wheel is in an active state. - MouseWheelControlInputCondition(MouseWheelControlInputCondition.State) - Constructor for record class technology.sola.engine.assets.input.MouseWheelControlInputCondition
-
Creates an instance of a
MouseWheelControlInputCondition
record class. - MouseWheelControlInputCondition.State - Enum Class in technology.sola.engine.assets.input
-
The possible states for
MouseWheelControlInputCondition
. - MouseWheelEvent - Record Class in technology.sola.engine.input
-
MouseWheelEvent is an event object containing information about an interaction with the mouse wheel.
- MouseWheelEvent(boolean, boolean, boolean, boolean) - Constructor for record class technology.sola.engine.input.MouseWheelEvent
-
Creates an instance of a
MouseWheelEvent
record class. - multiply(float, float) - Method in class technology.sola.engine.graphics.AffineTransform
-
Multiplies the
AffineTransform
with a point (x, y). - multiply(float, float) - Method in class technology.sola.math.linear.Matrix3D
-
Multiples this matrix with a point specified by (x, y).
- multiply(Matrix3D) - Method in class technology.sola.math.linear.Matrix3D
-
Multiplies two matrices together returning a new instance as the result.
- multiply(Vector2D) - Method in class technology.sola.math.linear.Matrix3D
-
Multiplies this matrix with a point.
- MULTIPLY - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Takes the RGB channel values from 0 to 1 of each pixel in the top layer and multiples them with the values for the corresponding pixel from the bottom layer.
- MultiplyBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
Takes the RGB channel values from 0 to 1 of each pixel in the top layer and multiples them with the values for the corresponding pixel from the bottom layer.
- MultiplyBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.MultiplyBlendFunction
- multiplyInverse(float, float) - Method in class technology.sola.engine.graphics.AffineTransform
-
Multiplies the inverse of the
AffineTransform
with a point (x, y).
N
- N - Enum constant in enum class technology.sola.engine.input.Key
-
N key.
- name() - Method in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Returns the value of the
name
record component. - NetworkQueue<T> - Class in technology.sola.engine.networking
-
NetworkQueue is a data structure for holding network messages in a first in first out basis.
- NetworkQueue() - Constructor for class technology.sola.engine.networking.NetworkQueue
- nextBoolean() - Static method in class technology.sola.engine.utils.SolaRandom
- nextFloat() - Static method in class technology.sola.engine.utils.SolaRandom
- nextFloat(float, float) - Static method in class technology.sola.engine.utils.SolaRandom
-
Returns a pseudorandom, uniformly distributed float value between min (inclusive) and max value (inclusive)
- nextInt(int) - Static method in class technology.sola.engine.utils.SolaRandom
-
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive)
- nextInt(int, int) - Static method in class technology.sola.engine.utils.SolaRandom
-
Returns a pseudorandom, uniformly distributed int value between min (inclusive) and max value (inclusive)
- NINE - Enum constant in enum class technology.sola.engine.input.Key
-
9 key.
- NO_BLENDING - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
No blending happens.
- NoBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
No blending happens.
- NoBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.NoBlendFunction
- NONE - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Visibility
-
Element will not render, and it will not take up any space in the layout.
- NONE - Enum constant in enum class technology.sola.engine.input.MouseButton
-
Represents no button.
- NONE - Static variable in record class technology.sola.engine.graphics.gui.style.property.Border
-
Border with 0 width.
- NONE - Static variable in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Padding with all values set to 0.
- NONE - Static variable in record class technology.sola.engine.graphics.gui.style.property.Position
-
Position with x and y not set.
- NONE - Static variable in record class technology.sola.engine.input.MouseWheelEvent
-
MouseWheelEvent to represent when no interaction with the mouse wheel has taken place.
- normal() - Method in record class technology.sola.engine.physics.CollisionManifold
-
Returns the value of the
normal
record component. - normal() - Method in record class technology.sola.engine.physics.MinimumTranslationVector
-
Returns the value of the
normal
record component. - NORMAL - Enum constant in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Normal/plain styling.
- NORMAL - Enum constant in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Blends top onto bottom based on alpha of top pixel.
- NormalBlendFunction - Class in technology.sola.engine.graphics.renderer.blend
-
Blends top onto bottom based on alpha of top pixel.
- NormalBlendFunction() - Constructor for class technology.sola.engine.graphics.renderer.blend.NormalBlendFunction
- normalize() - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the normalized vector (where the vector has a length of one).
- NUM_DIVIDE - Enum constant in enum class technology.sola.engine.input.Key
-
Divide key.
- NUM_EIGHT - Enum constant in enum class technology.sola.engine.input.Key
-
Num 8 key.
- NUM_FIVE - Enum constant in enum class technology.sola.engine.input.Key
-
Num 5 key.
- NUM_FOUR - Enum constant in enum class technology.sola.engine.input.Key
-
Num 4 key.
- NUM_LOCK - Enum constant in enum class technology.sola.engine.input.Key
-
Num Lock key.
- NUM_MINUS - Enum constant in enum class technology.sola.engine.input.Key
-
Minus key.
- NUM_MULTIPLY - Enum constant in enum class technology.sola.engine.input.Key
-
Multiply key.
- NUM_NINE - Enum constant in enum class technology.sola.engine.input.Key
-
Num 9 key.
- NUM_ONE - Enum constant in enum class technology.sola.engine.input.Key
-
Num 1 key.
- NUM_PLUS - Enum constant in enum class technology.sola.engine.input.Key
-
Plus key.
- NUM_POINT - Enum constant in enum class technology.sola.engine.input.Key
-
Point key.
- NUM_SEVEN - Enum constant in enum class technology.sola.engine.input.Key
-
Num 7 key.
- NUM_SIX - Enum constant in enum class technology.sola.engine.input.Key
-
Num 6 key.
- NUM_THREE - Enum constant in enum class technology.sola.engine.input.Key
-
Num 3 key.
- NUM_TWO - Enum constant in enum class technology.sola.engine.input.Key
-
Num 2 key.
- NUM_ZERO - Enum constant in enum class technology.sola.engine.input.Key
-
Num 0 key.
O
- O - Enum constant in enum class technology.sola.engine.input.Key
-
O key.
- of(String) - Static method in class technology.sola.engine.graphics.gui.style.property.StyleValue
-
Creates a StyleValue from the parsed String.
- of(Class<?>) - Static method in class technology.sola.logging.SolaLogger
-
Utilizes the configured
SolaLoggerFactory
to create a newSolaLogger
instance for desired class. - of(Class<?>, String) - Static method in class technology.sola.logging.SolaLogger
-
Utilizes the configured
SolaLoggerFactory
to create a newSolaLogger
instance for desired class. - off() - Method in class technology.sola.engine.graphics.gui.event.GuiEventListenerList
-
Removes all
GuiEventListener
s that have been added. - off(Class<T>) - Method in class technology.sola.engine.event.EventHub
-
Removes all
EventListener
for an event type. - OFF - Enum constant in enum class technology.sola.logging.SolaLogLevel
-
OFF is a special level that can be used to turn off logging.
- on(GuiEventListener<E>) - Method in class technology.sola.engine.graphics.gui.event.GuiEventListenerList
- onAsyncInit(Runnable) - Method in class technology.sola.engine.core.Sola
-
Method called if any asynchronous initialization is needed.
- once(GuiEventListener<E>) - Method in class technology.sola.engine.graphics.gui.event.GuiEventListenerList
- onComplete(String) - Method in interface technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent.AnimationCompleteCallback
-
Method called when the animation with id is completed.
- onComplete(Consumer<Asset[]>) - Method in class technology.sola.engine.assets.BulkAssetLoader.BulkAssetHandle
-
Method called when bulk asset loading has completed.
- onComplete(TransformAnimatorComponent) - Method in interface technology.sola.engine.graphics.components.animation.TransformAnimatorComponent.AnimationCompleteCallback
-
Method called when a
TransformAnimatorComponent
animation completes. - ONE - Enum constant in enum class technology.sola.engine.input.Key
-
1 key.
- ONE_DIV_255 - Static variable in class technology.sola.engine.graphics.Color
-
Constant used to normalize ARGB values to between 0 and 1.
- onEvent(E) - Method in interface technology.sola.engine.graphics.gui.event.GuiEventListener
-
Callback that is called with the
GuiEvent
that was emitted. - onEvent(T) - Method in interface technology.sola.engine.event.EventListener
-
Function called whenever an
Event
that is listened to is emitted. - onInit() - Method in class technology.sola.engine.core.Sola
-
Method called to initialize the Sola.
- onInit() - Method in class technology.sola.engine.defaults.SolaWithDefaults
- onInit(SolaWithDefaults.DefaultsConfigurator) - Method in class technology.sola.engine.defaults.SolaWithDefaults
-
Calls
Sola.onInit()
while providing access to theSolaWithDefaults.DefaultsConfigurator
. - onKeyPressed(Consumer<KeyEvent>) - Method in class technology.sola.engine.core.SolaPlatform
-
Registers an on key pressed listener.
- onKeyPressed(KeyEvent) - Method in class technology.sola.engine.input.KeyboardInput
-
Called on press of a key.
- onKeyReleased(Consumer<KeyEvent>) - Method in class technology.sola.engine.core.SolaPlatform
-
Registers an on key released listener.
- onMouseMoved(Consumer<MouseEvent>) - Method in class technology.sola.engine.core.SolaPlatform
-
Registers an on mouse moved listener.
- onMouseMoved(MouseEvent) - Method in class technology.sola.engine.input.MouseInput
-
Called on move of the mouse.
- onMousePressed(Consumer<MouseEvent>) - Method in class technology.sola.engine.core.SolaPlatform
-
Registers an on mouse pressed listener.
- onMousePressed(MouseEvent) - Method in class technology.sola.engine.input.MouseInput
-
Called on press of a mouse button.
- onMouseReleased(Consumer<MouseEvent>) - Method in class technology.sola.engine.core.SolaPlatform
-
Registers an on mouse released listener.
- onMouseReleased(MouseEvent) - Method in class technology.sola.engine.input.MouseInput
-
Called on release of a mouse button.
- onMouseWheel(Consumer<MouseWheelEvent>) - Method in class technology.sola.engine.core.SolaPlatform
-
Registers an on mouse wheel listener.
- onMouseWheel(MouseWheelEvent) - Method in class technology.sola.engine.input.MouseInput
-
Captures the last
MouseWheelEvent
that happened. - onRender(Renderer) - Method in class technology.sola.engine.core.Sola
-
Method called every frame to render the world.
- onRender(Renderer) - Method in class technology.sola.engine.core.SolaPlatform
-
Main render frame method.
- onRender(Renderer) - Method in class technology.sola.engine.defaults.SolaWithDefaults
- onUpdate(float) - Method in class technology.sola.engine.core.Sola
-
Method called every frame to update the input and world state.
- ORANGE - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(255, 165, 0).
- ORDER - Static variable in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
The render order for the DebugEntityGraphicsModule.
- ORDER - Static variable in class technology.sola.engine.defaults.graphics.modules.ScreenSpaceLightMapGraphicsModule
-
The render order for this graphics module.
- ORDER - Static variable in class technology.sola.engine.physics.system.CollisionDetectionSystem
-
Collision detection order is one after the
PhysicsSystem.ORDER
. - ORDER - Static variable in class technology.sola.engine.physics.system.GravitySystem
-
The order for this system which is one before the
PhysicsSystem.ORDER
. - ORDER - Static variable in class technology.sola.engine.physics.system.ImpulseCollisionResolutionSystem
-
The order for this system which is one after the
CollisionDetectionSystem.ORDER
. - ORDER - Static variable in class technology.sola.engine.physics.system.PhysicsSystem
-
The order of this system.
P
- P - Enum constant in enum class technology.sola.engine.input.Key
-
P key.
- p1() - Method in record class technology.sola.math.geometry.Line
-
Returns the value of the
p1
record component. - p1() - Method in record class technology.sola.math.geometry.Triangle
-
Returns the value of the
p1
record component. - p2() - Method in record class technology.sola.math.geometry.Line
-
Returns the value of the
p2
record component. - p2() - Method in record class technology.sola.math.geometry.Triangle
-
Returns the value of the
p2
record component. - p3() - Method in record class technology.sola.math.geometry.Triangle
-
Returns the value of the
p3
record component. - padding() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Contains the padding values between the content and border of the
GuiElement
. - Padding - Record Class in technology.sola.engine.graphics.gui.style.property
-
Padding contains the properties for a
GuiElement
's padding which is the space between the element's border and content. - Padding() - Constructor for record class technology.sola.engine.graphics.gui.style.property.Padding
-
Creates a new Padding instance with no values set.
- Padding(Integer) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Padding
-
Creates a new Padding instance with all values set to the same.
- Padding(Integer, Integer) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Padding
-
Creates a new Padding instance with vertical and horizontal values set.
- Padding(Integer, Integer, Integer) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Padding
-
Creates a new Padding instance with top, horizontal, and bottom values set.
- Padding(Integer, Integer, Integer, Integer) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Padding
-
Creates an instance of a
Padding
record class. - PADDING - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.padding()
()}. - PAGE_DOWN - Enum constant in enum class technology.sola.engine.input.Key
-
Page Down key.
- PAGE_UP - Enum constant in enum class technology.sola.engine.input.Key
-
Page Up key.
- parse(String) - Static method in class technology.sola.engine.networking.socket.SocketMessage
-
Creates a SocketMessage instance from a raw string message.
- parseColor(JsonElement) - Static method in class technology.sola.engine.graphics.gui.json.styles.StylesJsonBlueprintUtils
-
Parses a
Color
from aJsonElement
. - parseInteger(JsonElement) - Static method in class technology.sola.engine.graphics.gui.json.styles.StylesJsonBlueprintUtils
-
Parses an Integer or null value from a
JsonElement
. - parseString(JsonElement) - Static method in class technology.sola.engine.graphics.gui.json.styles.StylesJsonBlueprintUtils
-
Parses a String or null value from a
JsonElement
. - parseStyleValueAsString(JsonElement) - Static method in class technology.sola.engine.graphics.gui.json.styles.StylesJsonBlueprintUtils
-
Parses a valid
StyleValue
value as a string or null from aJsonElement
. - ParticleEmitterComponent - Class in technology.sola.engine.physics.component
-
ParticleEmitterComponent is a
Component
that contains data for emittingParticleEmitterComponent.Particle
s as well as data for its emitted particles. - ParticleEmitterComponent() - Constructor for class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Creates a ParticleEmitterComponent instance with default settings.
- ParticleEmitterComponent(float) - Constructor for class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Creates a ParticleEmitterComponent instance with default settings and a custom particle emission delay.
- ParticleEmitterComponent.Particle - Class in technology.sola.engine.physics.component
-
Particle contains properties that represent a particle that has been emitted from a
ParticleEmitterComponent
. - ParticleEmitterEntityGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
ParticleEmitterEntityGraphicsModule is a
SolaEntityGraphicsModule
implementation for renderingEntity
that have aTransformComponent
andParticleEmitterComponent
. - ParticleEmitterEntityGraphicsModule() - Constructor for class technology.sola.engine.defaults.graphics.modules.ParticleEmitterEntityGraphicsModule
- ParticleSystem - Class in technology.sola.engine.physics.system
-
ParticleSystem is an
EcsSystem
that handles updatingEntity
with aTransformComponent
andParticleEmitterComponent
. - ParticleSystem() - Constructor for class technology.sola.engine.physics.system.ParticleSystem
- pause() - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Pauses playback.
- PAUSE - Enum constant in enum class technology.sola.engine.core.event.GameLoopState
-
The game loop is not currently running but can be resumed.
- penetration() - Method in record class technology.sola.engine.physics.CollisionManifold
-
Returns the value of the
penetration
record component. - penetration() - Method in record class technology.sola.engine.physics.MinimumTranslationVector
-
Returns the value of the
penetration
record component. - PERIOD - Enum constant in enum class technology.sola.engine.input.Key
-
Period key.
- PhysicsSystem - Class in technology.sola.engine.physics.system
-
PhysicsSystem is an
EcsSystem
that handles updatingEntity
with aTransformComponent
andDynamicBodyComponent
. - PhysicsSystem() - Constructor for class technology.sola.engine.physics.system.PhysicsSystem
- pixels - Variable in class technology.sola.engine.graphics.Canvas
-
The pixel array for the canvas.
- placeholderColor() - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputStyles
- platform() - Method in class technology.sola.engine.core.Sola
- play() - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Begins or resumes playback.
- play(Sola) - Method in class technology.sola.engine.core.SolaPlatform
-
Main entry point for starting a
Sola
. - playAnimation(String) - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Starts playing the animation with desired id.
- populate(Collection<View2Entry<ColliderComponent, TransformComponent>>) - Method in interface technology.sola.engine.physics.system.collision.CollisionDetectionBroadPhase
-
Populates the underlying data structure from the list of collidable entities.
- populate(Collection<View2Entry<ColliderComponent, TransformComponent>>) - Method in class technology.sola.engine.physics.system.collision.QuadTreeCollisionDetectionBroadPhase
- populate(Collection<View2Entry<ColliderComponent, TransformComponent>>) - Method in class technology.sola.engine.physics.system.collision.SkipCollisionDetectionBroadPhase
- populate(Collection<View2Entry<ColliderComponent, TransformComponent>>) - Method in class technology.sola.engine.physics.system.collision.SpatialHashMapCollisionDetectionBroadPhase
- populateAssetLoaderProvider(AssetLoaderProvider) - Method in class technology.sola.engine.core.SolaPlatform
-
Method to populate the
SolaPlatform
AssetLoaderProvider
withAssetLoader
s thatSola
will be able to utilize. - position() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines whether this
GuiElement
is positioned absolutely or relatively. - Position - Record Class in technology.sola.engine.graphics.gui.style.property
-
Position contains the properties for absolutely positioning a
GuiElement
within its container. - Position() - Constructor for record class technology.sola.engine.graphics.gui.style.property.Position
-
Creates a new Position instance with x and y not set.
- Position(String, String) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Position
-
Creates a new Position instance with x and y set.
- Position(StyleValue, StyleValue) - Constructor for record class technology.sola.engine.graphics.gui.style.property.Position
-
Creates an instance of a
Position
record class. - POSITION - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.position()
. - post(String, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a POST request. - post(String, JsonArray, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a POST request. - post(String, JsonElement, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a POST request. - post(String, JsonObject, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a POST request. - PRESSED - Enum constant in enum class technology.sola.engine.assets.input.KeyControlInputCondition.State
-
The condition is considered active if the
Key
is pressed. - PRESSED - Enum constant in enum class technology.sola.engine.assets.input.MouseButtonControlInputCondition.State
-
The condition is considered active if the
MouseButton
is pressed. - previousLoopStartNanos - Variable in class technology.sola.engine.core.GameLoop
-
The previous time for when the previous loop started in nanoseconds.
- PRIMARY - Enum constant in enum class technology.sola.engine.input.MouseButton
-
Represents primary (button 1, usually the left) mouse button.
- put(String, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a PUT request. - put(String, JsonArray, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a PUT request. - put(String, JsonElement, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a PUT request. - put(String, JsonObject, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Convenience method around
RestClient.request(String, String, JsonElement, Consumer)
for making a PUT request.
Q
- Q - Enum constant in enum class technology.sola.engine.input.Key
-
Q key.
- QuadTreeCollisionDetectionBroadPhase - Class in technology.sola.engine.physics.system.collision
-
QuadTreeCollisionDetectionBroadPhase is a
CollisionDetectionBroadPhase
implementation using aQuadTreeNode
internally. - QuadTreeCollisionDetectionBroadPhase() - Constructor for class technology.sola.engine.physics.system.collision.QuadTreeCollisionDetectionBroadPhase
-
Creates an instance with bounds being auto calculated based on entries in the world, maxDepth set to 5, and maxEntitiesPerNode set to 8.
- QuadTreeCollisionDetectionBroadPhase(Rectangle) - Constructor for class technology.sola.engine.physics.system.collision.QuadTreeCollisionDetectionBroadPhase
-
Creates an instance with desired fixed bounds, maxDepth set to 5, and maxEntitiesPerNode set to 8.
- QuadTreeCollisionDetectionBroadPhase(Rectangle, int, int) - Constructor for class technology.sola.engine.physics.system.collision.QuadTreeCollisionDetectionBroadPhase
-
Creates an instance with desired fixed bounds, maxDepth, and maxEntitiesPerNode.
- QuadTreeData(View2Entry<ColliderComponent, TransformComponent>) - Constructor for class technology.sola.engine.physics.utils.QuadTreeNode.QuadTreeData
-
Creates a new QuadTreeData instance for a collidable entity.
- QuadTreeNode - Class in technology.sola.engine.physics.utils
-
QuadTreeNode is a quad tree implementation for collidable
Entity
. - QuadTreeNode(Rectangle) - Constructor for class technology.sola.engine.physics.utils.QuadTreeNode
-
Creates a QuadTreeNode with desired bounds.
- QuadTreeNode(Rectangle, int, int) - Constructor for class technology.sola.engine.physics.utils.QuadTreeNode
-
Creates a QuadTreeNode with desired bounds, maxDepth and maxEntitiesPerNode.
- QuadTreeNode.QuadTreeData - Class in technology.sola.engine.physics.utils
-
QuadTreeData holds data that can be inserted into a
QuadTreeNode
. - query(View2Entry<ColliderComponent, TransformComponent>) - Method in interface technology.sola.engine.physics.system.collision.CollisionDetectionBroadPhase
-
Searches for collidable entities that are near the search entity.
- query(View2Entry<ColliderComponent, TransformComponent>) - Method in class technology.sola.engine.physics.system.collision.QuadTreeCollisionDetectionBroadPhase
- query(View2Entry<ColliderComponent, TransformComponent>) - Method in class technology.sola.engine.physics.system.collision.SkipCollisionDetectionBroadPhase
- query(View2Entry<ColliderComponent, TransformComponent>) - Method in class technology.sola.engine.physics.system.collision.SpatialHashMapCollisionDetectionBroadPhase
- query(Rectangle) - Method in class technology.sola.engine.physics.utils.QuadTreeNode
-
Searches an area for all collidable entities within it.
- QWERTY - Enum constant in enum class technology.sola.engine.input.KeyboardLayout.Type
-
Standard QWERTY layout.
R
- R - Enum constant in enum class technology.sola.engine.input.Key
-
R key.
- radius() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
-
Returns the value of the
radius
record component. - radius() - Method in record class technology.sola.math.geometry.Circle
-
Returns the value of the
radius
record component. - rate() - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Returns the value of the
rate
record component. - Rectangle - Record Class in technology.sola.math.geometry
-
Rectangle represents an axis aligned geometric rectangle.
- Rectangle(Vector2D, Vector2D) - Constructor for record class technology.sola.math.geometry.Rectangle
-
Creates a rectangle by min and max points.
- RectangleEntityGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
RectangleEntityGraphicsModule is a
SolaEntityGraphicsModule
implementation for renderingEntity
that have aTransformComponent
andRectangleRendererComponent
. - RectangleEntityGraphicsModule() - Constructor for class technology.sola.engine.defaults.graphics.modules.RectangleEntityGraphicsModule
- RectangleRendererComponent - Class in technology.sola.engine.graphics.components
-
RectangleRendererComponent is a
Component
containing data for rendering 2d rectangles. - RectangleRendererComponent(Color) - Constructor for class technology.sola.engine.graphics.components.RectangleRendererComponent
-
Creates a RectangleRendererComponent of desired color that is filled.
- RectangleRendererComponent(Color, boolean) - Constructor for class technology.sola.engine.graphics.components.RectangleRendererComponent
-
Creates a RectangleRendererComponent of desired color that is either filled or not filled.
- RED - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(255, 0, 0).
- reflect(Vector2D) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the reflected vector off of desired
Vector2D
normal. - remove(Class<T>, EventListener<T>) - Method in class technology.sola.engine.event.EventHub
-
Removes an
EventListener
that is listening to events of desired type. - remove(QuadTreeNode.QuadTreeData) - Method in class technology.sola.engine.physics.utils.QuadTreeNode
-
Removes an entry from the quad tree.
- removeChild(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
-
ImageGuiElement does not render children so this method will do nothing.
- removeChild(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
TextInputGuiElement does not render children so this method will do nothing.
- removeChild(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
-
ImageGuiElement does not render children so this method will do nothing.
- removeChild(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
-
TextGuiElement does not render children so this method will do nothing.
- removeChild(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Removes a child element from this element.
- removeFirst() - Method in class technology.sola.engine.networking.NetworkQueue
-
Removes the first message from the queue and returns it.
- removeLast() - Method in class technology.sola.engine.networking.NetworkQueue
-
Removes the last message from the queue and returns it.
- removeSprite(String) - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Removes a sprite by its id from this sprite sheet and returns a new instance.
- removeStyle(ConditionalStyle<Style>) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Removes all instances of
ConditionalStyle
from the current list of styles. - render(Renderer) - Method in class technology.sola.engine.defaults.SolaGraphics
-
Renders all
SolaGraphicsModule
s that have been added. - render(Renderer) - Method in class technology.sola.engine.graphics.gui.GuiDocument
-
Renders the root element to the
Renderer
. - render(Renderer) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Method to render the gui element.
- render(Renderer, World, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
- render(Renderer, World, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
-
The main render method for a graphics module that is called once per frame.
- renderChildren(Renderer) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Renders all the element's children.
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.elements.input.ButtonGuiElement
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.elements.SectionGuiElement
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
- renderContent(Renderer) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Method to render the main content of the gui element (not borders, backgrounds, etc.).
- renderDebug(Renderer, Matrix3D, Matrix3D) - Method in interface technology.sola.engine.physics.system.collision.CollisionDetectionBroadPhase
-
Renders debug information about this broad phase algorithm.
- renderDebug(Renderer, Matrix3D, Matrix3D) - Method in class technology.sola.engine.physics.system.collision.QuadTreeCollisionDetectionBroadPhase
- renderDebug(Renderer, Matrix3D, Matrix3D) - Method in class technology.sola.engine.physics.system.collision.SkipCollisionDetectionBroadPhase
- renderDebug(Renderer, Matrix3D, Matrix3D) - Method in class technology.sola.engine.physics.system.collision.SpatialHashMapCollisionDetectionBroadPhase
- renderEntity(Renderer, View2Entry<CircleRendererComponent, TransformComponent>, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.CircleEntityGraphicsModule
- renderEntity(Renderer, View2Entry<RectangleRendererComponent, TransformComponent>, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.RectangleEntityGraphicsModule
- renderEntity(Renderer, View2Entry<SpriteComponent, TransformComponent>, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.SpriteEntityGraphicsModule
- renderEntity(Renderer, View2Entry<TriangleRendererComponent, TransformComponent>, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.TriangleEntityGraphicsModule
- renderEntity(Renderer, View2Entry<ColliderComponent, TransformComponent>, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
- renderEntity(Renderer, View2Entry<ParticleEmitterComponent, TransformComponent>, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.ParticleEmitterEntityGraphicsModule
- renderEntity(Renderer, View2Entry<ParticleEmitterComponent, TransformComponent>, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.ParticleEmitterEntityGraphicsModule
- renderEntity(Renderer, V, TransformComponent) - Method in class technology.sola.engine.defaults.graphics.modules.SolaEntityGraphicsModule
-
Called on each
Entity
to render it. - renderEntity(Renderer, V, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.SolaEntityGraphicsModule
-
Called on each
Entity
to render it. - renderer - Variable in class technology.sola.engine.core.SolaPlatform
-
The
Renderer
for the platform. - Renderer - Interface in technology.sola.engine.graphics.renderer
-
Renderer defines the API for a sola game engine renderer.
- rendererHeight() - Method in record class technology.sola.engine.core.SolaConfiguration
-
Returns the value of the
rendererHeight
record component. - rendererWidth() - Method in record class technology.sola.engine.core.SolaConfiguration
-
Returns the value of the
rendererWidth
record component. - renderLines(Renderer, TextRenderDetails, TextStyles.TextAlignment, GuiElementBounds, Color) - Static method in class technology.sola.engine.graphics.gui.util.TextRenderUtils
-
Handles rendering lines of GUI text to a
Renderer
. - renderMethod - Variable in class technology.sola.engine.core.GameLoop
-
Method to call each render frame.
- renderMethod(Renderer, World, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.ScreenSpaceLightMapGraphicsModule
- renderMethod(Renderer, World, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.SolaEntityGraphicsModule
- renderMethod(Renderer, World, Matrix3D, Matrix3D) - Method in class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
-
The specific render method for a graphics module that is called once per frame if active.
- request(String, String, JsonElement, Consumer<HttpResponse>) - Method in class technology.sola.engine.networking.rest.JavaRestClient
- request(String, String, JsonElement, Consumer<HttpResponse>) - Method in interface technology.sola.engine.networking.rest.RestClient
-
Creates and sends an HTTP request.
- requestFocus() - Method in class technology.sola.engine.graphics.gui.elements.SectionGuiElement
- requestFocus() - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Focuses this element if it is able to have focus.
- requestFocus(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.GuiDocument
-
Gives the desired
GuiElement
focus. - reset() - Method in class technology.sola.engine.graphics.AffineTransform
-
Resets this AffineTransform back to the
Matrix3D.identity()
. - reset() - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Resets the elapsed time of the animation back to 0.
- resetClamp() - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Resets the rendering clamp to the full size of the
Renderer
. - resize(int, int) - Method in class technology.sola.engine.assets.graphics.SolaImage
-
Resizes this image to a new width and height.
- resize(int, int) - Method in class technology.sola.engine.graphics.screen.Viewport
-
Recalculates the
AspectRatioSizing
using the currentAspectMode
and the new screen width and height. - restart() - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Restarts the current animation.
- restClient - Variable in class technology.sola.engine.core.SolaPlatform
-
The
RestClient
for the platform. - RestClient - Interface in technology.sola.engine.networking.rest
-
RestClient defines the api for creating rest client implementations for sending HTTP requests.
- RESUME - Enum constant in enum class technology.sola.engine.core.event.GameLoopState
-
The game loop has begun resuming.
- right() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns the value of the
right
record component. - right() - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Returns the value of the
right
record component. - RIGHT - Enum constant in enum class technology.sola.engine.assets.input.MouseWheelControlInputCondition.State
-
Mouse wheel was moved right.
- RIGHT - Enum constant in enum class technology.sola.engine.input.Key
-
Right key.
- RIGHT_BRACKET - Enum constant in enum class technology.sola.engine.input.Key
-
Right Bracket key.
- rootElement() - Method in record class technology.sola.engine.assets.graphics.gui.GuiJsonDocument
-
Returns the value of the
rootElement
record component. - rotate(double) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the rotation for a vector about the origin.
- rotate(float) - Method in class technology.sola.engine.graphics.AffineTransform
-
Rotates by radians.
- rotate(float) - Static method in class technology.sola.math.linear.Matrix3D
-
Creates a new rotation matrix for the desired radians value.
- ROW - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Direction
-
Children flow left to right.
- ROW_REVERSE - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Direction
-
Children flow left to right in reverse order.
- run() - Method in class technology.sola.engine.core.GameLoop
- RUNNING_AVERAGE - Static variable in interface technology.sola.engine.graphics.components.LightFlicker.FlickerSmoothing
-
Returns the average of the current value and the next value.
S
- S - Enum constant in enum class technology.sola.engine.input.Key
-
S key.
- scalar(float) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the scalar of this vector and returns the result as a new vector object.
- scale(float, float) - Method in class technology.sola.engine.assets.graphics.SolaImage
-
Scales this image by an x-axis and y-axis scale factor.
- scale(float, float) - Method in class technology.sola.engine.graphics.AffineTransform
-
Scales by sx, sy.
- scale(float, float) - Static method in class technology.sola.math.linear.Matrix3D
-
Creates a new scale matrix for the desired x-axis and y-axis values.
- ScreenSpaceLightMapGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
ScreenSpaceLightMapGraphicsModule is a
SolaGraphicsModule
that handles drawing lighting forEntity
that haveLightComponent
s. - ScreenSpaceLightMapGraphicsModule(Color) - Constructor for class technology.sola.engine.defaults.graphics.modules.ScreenSpaceLightMapGraphicsModule
-
Creates an instance of this graphics module with ambient
Color
used for lighting. - screenToWorldCoordinate(Vector2D) - Method in class technology.sola.engine.defaults.SolaGraphics
-
Using the camera's transform, this method calculates the
World
coordinate based on the screen's coordinate system. - SECONDARY - Enum constant in enum class technology.sola.engine.input.MouseButton
-
Represents secondary (button 3, usually the right) mouse button.
- SectionElementJsonBlueprint - Class in technology.sola.engine.graphics.gui.json.element
- SectionElementJsonBlueprint() - Constructor for class technology.sola.engine.graphics.gui.json.element.SectionElementJsonBlueprint
-
Creates an instance of this
GuiElementJsonBlueprint
. - SectionGuiElement - Class in technology.sola.engine.graphics.gui.elements
-
SectionGuiElement is a
GuiElement
that is simply a container for its children elements. - SectionGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.SectionGuiElement
-
Creates a new SectionGuiElement instance and registers key pressed events for navigating its children.
- SEMI_COLON - Enum constant in enum class technology.sola.engine.input.Key
-
Semi Colon key.
- sendMessage(SocketMessage) - Method in class technology.sola.engine.networking.socket.JavaSocketClient
- sendMessage(SocketMessage) - Method in interface technology.sola.engine.networking.socket.SocketClient
-
Sends a message to the server.
- SensorEvent - Record Class in technology.sola.engine.physics.event
-
Event
that a collision happened but will not be resolved by applying any forces. - SensorEvent(CollisionManifold) - Constructor for record class technology.sola.engine.physics.event.SensorEvent
-
Creates an instance of a
SensorEvent
record class. - SeparatingAxisTheorem - Class in technology.sola.engine.physics.utils
-
SeparatingAxisTheorem contains methods for checking whether two convex polygons are colliding or not.
- SeparatingAxisTheorem() - Constructor for class technology.sola.engine.physics.utils.SeparatingAxisTheorem
- set(int[], int, Color) - Method in interface technology.sola.engine.graphics.renderer.blend.BlendFunction
-
Method called to set the color of the pixel at pixelIndex.
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.DissolveBlendFunction
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.LightenBlendFunction
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.LinearDodgeBlendFunction
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.MaskBlendFunction
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.MultiplyBlendFunction
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.NoBlendFunction
- set(int[], int, Color) - Method in class technology.sola.engine.graphics.renderer.blend.NormalBlendFunction
- set(int[], int, Color) - Method in enum class technology.sola.engine.graphics.renderer.BlendMode
- setActive(boolean) - Method in class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
-
Sets the active state of this graphics module.
- setActive(boolean) - Method in class technology.sola.engine.graphics.renderer.Layer
-
Sets the active state of this layer.
- setAmbientColor(Color) - Method in class technology.sola.engine.defaults.graphics.modules.ScreenSpaceLightMapGraphicsModule
-
Sets the ambient
Color
used for lighting. - setAnimationCompleteCallback(SpriteAnimatorComponent.AnimationCompleteCallback) - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Sets the
SpriteAnimatorComponent.AnimationCompleteCallback
that happens when an animation finishes playing. - setAnimationCompleteCallback(TransformAnimatorComponent.AnimationCompleteCallback) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the
TransformAnimatorComponent.AnimationCompleteCallback
for thisTransformAnimatorComponent
. - setAspectMode(AspectMode) - Method in class technology.sola.engine.graphics.screen.Viewport
-
Updates the
AspectMode
used and recalculatesAspectRatioSizing
. - setAsset(T) - Method in class technology.sola.engine.assets.AssetHandle
-
Sets the loaded
Asset
for thisAssetHandle
. - setAssetId(String) - Method in class technology.sola.engine.graphics.gui.elements.ImageGuiElement
-
Sets the id of the
SolaImage
asset to be rendered. - setAssetId(String) - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
-
Sets the id of the
SpriteSheet
asset to be rendered. - setAttenuationConstants(float, float, float) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Sets the attenuation calculation constants.
- setBackgroundColor(Color) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.background()
to be the color provided. - setBlendFunction(BlendFunction) - Method in class technology.sola.engine.graphics.components.BlendModeComponent
-
Sets the
BlendFunction
to be used. - setBlendFunction(BlendFunction) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Sets the
BlendFunction
that should be used. - setBlendFunction(BlendFunction) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- setBorderColor(Color) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.border()
to be the color provided with a 1px sizing. - setClamp(int, int, int, int) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Restricts rendering of pixels within a rectangle.
- setClamp(int, int, int, int) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- setCollisionDetectionBroadPhase(CollisionDetectionBroadPhase) - Method in class technology.sola.engine.physics.system.CollisionDetectionSystem
-
Sets the
CollisionDetectionBroadPhase
algorithm used for collision detection. - setColor(Color) - Method in class technology.sola.engine.graphics.components.CircleRendererComponent
-
Sets the
Color
for rendering. - setColor(Color) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Sets the
Color
of the light. - setColor(Color) - Method in class technology.sola.engine.graphics.components.RectangleRendererComponent
-
Sets the
Color
for rendering. - setColor(Color) - Method in class technology.sola.engine.graphics.components.TriangleRendererComponent
-
Sets the
Color
for rendering. - setControls(ControlsConfig) - Method in class technology.sola.engine.input.SolaControls
-
Clears any existing controls and adds all controls from a
ControlsConfig
. - setCrossAxisChildren(CrossAxisChildren) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.crossAxisChildren()
. - setDimensions(int, int) - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Creates a new
GuiElementBounds
instance with width and height set to the desired values. - setDirection(Direction) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.direction()
. - setDisabled(boolean) - Method in class technology.sola.engine.graphics.gui.elements.input.BaseInputGuiElement
-
Updates the disabled state of the input.
- setFilled(boolean) - Method in class technology.sola.engine.graphics.components.CircleRendererComponent
-
Sets whether the circle should be filled or not.
- setFilled(boolean) - Method in class technology.sola.engine.graphics.components.RectangleRendererComponent
-
Sets whether the rectangle should be filled or not.
- setFilled(boolean) - Method in class technology.sola.engine.graphics.components.TriangleRendererComponent
-
Sets whether the triangle should be filled or not.
- setFont(Font) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Sets the
Font
to use when drawing text. - setFont(Font) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- setFontAssetId(String) - Method in class technology.sola.engine.graphics.gui.elements.TextStyles.Builder
-
Sets the
TextStyles.fontAssetId()
. - setForceX(float) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Sets the force on the horizontal axis.
- setForceY(float) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Sets the force on the vertical axis.
- setGap(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.gap()
. - setGravityConstant(float) - Method in class technology.sola.engine.physics.system.GravitySystem
-
Updates the gravity constant
- setGrounded(boolean) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Sets the grounded state.
- setHeight(int) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.height()
. - setHeight(String) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.height()
. - setId(String) - Method in class technology.sola.engine.graphics.gui.GuiElement
-
Sets the id of the element.
- setIgnoreTags(ColliderTag...) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Sets the
ColliderTag
s to ignore for this collider. - setKinematic(boolean) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Updates the kinematic property for this dynamic body.
- setLayer(String) - Method in class technology.sola.engine.graphics.components.LayerComponent
-
Updates the layer.
- setLightFlicker(LightFlicker) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Sets the
LightFlicker
to use or null if no flicker is desired. - setMainAxisChildren(MainAxisChildren) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.mainAxisChildren()
. - setMaterial(Material) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Change the
Material
used for this dynamic body. - setMaxLength(Integer) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
Sets the maximum number of characters allowed for the input.
- setOffset(float, float) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Sets a positional offset for the light.
- setOnAction(Runnable) - Method in class technology.sola.engine.graphics.gui.elements.input.ButtonGuiElement
-
Sets the action that fires when the button is interacted with.
- setOrder(int) - Method in class technology.sola.engine.graphics.components.LayerComponent
-
Updates the order in the layer.
- setPadding(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
to have the same value for top, right, bottom and left. - setPadding(Integer, Integer, Integer, Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
to have values for top, right, bottom and left. - setPaddingBottom(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
bottom value only. - setPaddingHorizontal(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
to have the same value for left and right. - setPaddingLeft(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
left value only. - setPaddingRight(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
right value only. - setPaddingTop(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
top value only. - setPaddingVertical(Integer) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.padding()
to have the same value for top and bottom. - setParent(Entity) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the parent of this TransformComponent.
- setParticleColor(Color) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the base
Color
of each newParticleEmitterComponent.Particle
. - setParticleEmissionDelay(float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the delay between each particle emission.
- setParticleLife(float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the lifespan for newly emitted
ParticleEmitterComponent.Particle
s to be a fixed value. - setParticleLifeBounds(float, float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the minimum and maximum lifespans for newly emitted
ParticleEmitterComponent.Particle
s. - setParticleSize(float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the size for newly emitted
ParticleEmitterComponent.Particle
s to be a fixed value. - setParticleSizeBounds(float, float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the minimum and maximum size values for newly emitted
ParticleEmitterComponent.Particle
s. - setParticlesPerEmit(int) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the number of particles to emit per emission.
- setParticleVelocity(Vector2D) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the velocity for newly emitted
ParticleEmitterComponent.Particle
s to be a fixed value. - setParticleVelocityBounds(Vector2D, Vector2D) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent
-
Updates the minimum and maximum velocities for newly emitted
ParticleEmitterComponent.Particle
s. - setPixel(int, int, int) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Sets the
Color
of a pixel at coordinate. - setPixel(int, int, Color) - Method in interface technology.sola.engine.graphics.renderer.Renderer
-
Sets the
Color
of a pixel at coordinate. - setPixel(int, int, Color) - Method in class technology.sola.engine.graphics.renderer.SoftwareRenderer
- setPixels(int, int, int[]) - Method in class technology.sola.engine.assets.graphics.SolaImage
-
Manually set the pixel data in this image.
- setPlaceholder(String) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
Sets the placeholder text for when no user value is entered.
- setPlaceholderColor(Color) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputStyles.Builder
-
Sets the
TextInputStyles.placeholderColor()
. - setPosition(int, int) - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Creates a new
GuiElementBounds
instance with position set to the desired x and y. - setPositionX(String) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.position()
to have an absolute value for x (y value remains unchanged). - setPositionY(String) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.position()
to have an absolute value for y (x value remains unchanged). - setPriority(int) - Method in class technology.sola.engine.graphics.components.CameraComponent
-
Updates the priority for this camera.
- setPropertyFromJson(Builder, String, JsonElement) - Method in interface technology.sola.engine.graphics.gui.json.styles.StylesJsonValueParser
-
Sets the desired property in a StylesBuilder based on the
JsonElement
value - setPropertyFromJson(TextInputStyles.Builder<?>, String, JsonElement) - Method in class technology.sola.engine.graphics.gui.json.styles.TextInputStylesJsonValueParser
- setPropertyFromJson(TextStyles.Builder<?>, String, JsonElement) - Method in class technology.sola.engine.graphics.gui.json.styles.TextStylesJsonValueParser
- setPropertyFromJson(BaseStyles.Builder<?>, String, JsonElement) - Method in class technology.sola.engine.graphics.gui.json.styles.BaseStylesJsonValueParser
- setRadius(float) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Sets the radius of the light.
- setRenderingBoundingBoxes(boolean) - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Enable or disable
ColliderComponent.getBoundingBox(TransformComponent)
debug rendering. - setRenderingBroadPhase(boolean) - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Enable or disable
CollisionDetectionBroadPhase
debug rendering. - setRenderingColliders(boolean) - Method in class technology.sola.engine.defaults.graphics.modules.DebugEntityGraphicsModule
-
Enabled or disable
ColliderComponent.getShape(TransformComponent)
debug rendering. - setRootElement(GuiElement<?, ?>) - Method in class technology.sola.engine.graphics.gui.GuiDocument
-
Sets the current root element that is used for rendering and receiving events to the desired
GuiElement
. - setScale(float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the horizontal and vertical scale of the transform to the same value.
- setScale(float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the x and y scale values to animate to.
- setScale(float, float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the scale of the transform.
- setScale(float, float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the scale x and scale y values to animate to.
- setScaleX(float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the horizontal scale.
- setScaleX(float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the scale x value to animate to.
- setScaleY(float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the vertical scale.
- setScaleY(float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the scale y value to animate to.
- setSeed(long) - Static method in class technology.sola.engine.utils.SolaRandom
-
Sets the seed for random number generation.
- setSensor(boolean) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Sets whether this collider is a sensor or not.
- setSpriteId(String) - Method in class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
-
Sets the id of the sprite within the
SpriteSheet
to be rendered. - setSpriteKeyFrame(SpriteKeyFrame) - Method in class technology.sola.engine.graphics.components.SpriteComponent
-
Updates the
SpriteKeyFrame
. - setStyles(List<ConditionalStyle<Style>>) - Method in class technology.sola.engine.graphics.gui.style.StyleContainer
-
Replaces the current internal
List
ofConditionalStyle
s with a new one. - setTags(ColliderTag...) - Method in class technology.sola.engine.physics.component.ColliderComponent
-
Sets the
ColliderTag
s for this collider. - setText(String) - Method in class technology.sola.engine.graphics.gui.elements.TextGuiElement
-
Sets the text that will be rendered.
- setTextAlignment(TextStyles.TextAlignment) - Method in class technology.sola.engine.graphics.gui.elements.TextStyles.Builder
-
Sets the
TextStyles.textAlignment()
. - setTextColor(Color) - Method in class technology.sola.engine.graphics.gui.elements.TextStyles.Builder
-
Sets the
TextStyles.textColor()
. - setTranslate(float, float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the translation of the transform.
- setTranslate(float, float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the x and y values to animate to.
- setTranslate(Vector2D) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the translation of the transform.
- setTranslateX(float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the x value to animate to.
- setTranslateY(float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Sets the y value to animate to.
- setType(KeyboardLayout.Type) - Static method in class technology.sola.engine.input.KeyboardLayout
-
Sets the
KeyboardLayout.Type
of keyboard in use. - setValue(String) - Method in class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
Programmatically sets the user entered value of the input.
- setVelocity(Vector2D) - Method in class technology.sola.engine.physics.component.DynamicBodyComponent
-
Sets the velocity for this dynamic body.
- setVisibility(Visibility) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.visibility()
. - setVolume(float) - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Sets the volume where 0 is silent and 1 is full volume.
- setWidth(int) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.width()
. - setWidth(String) - Method in class technology.sola.engine.graphics.gui.style.BaseStyles.Builder
-
Sets the
BaseStyles.width()
. - setX(float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the new translation x or offset x of parent.
- setY(float) - Method in class technology.sola.engine.core.component.TransformComponent
-
Sets the new translation y or offset y of parent.
- SEVEN - Enum constant in enum class technology.sola.engine.input.Key
-
7 key.
- shade(float) - Method in class technology.sola.engine.graphics.Color
-
Creates a new Color that is a shade of this Color.
- shape() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
-
Returns the value of the
shape
record component. - Shape - Interface in technology.sola.math.geometry
-
Shape is a common interface for geometric shapes.
- sheer(float, float) - Method in class technology.sola.engine.graphics.AffineTransform
-
Sheers by sx, sy.
- sheer(float, float) - Static method in class technology.sola.math.linear.Matrix3D
-
Creates a new sheer matrix for the desired x,y values.
- shift(char) - Static method in class technology.sola.engine.input.KeyboardLayout
-
Returns the shifted variant of the character for the current keyboard type.
- SHIFT - Enum constant in enum class technology.sola.engine.input.Key
-
Shift key.
- SINGLE_QUOTE - Enum constant in enum class technology.sola.engine.input.Key
-
Single Quote key.
- SIX - Enum constant in enum class technology.sola.engine.input.Key
-
6 key.
- size() - Method in class technology.sola.engine.networking.NetworkQueue
- SkipCollisionDetectionBroadPhase - Class in technology.sola.engine.physics.system.collision
-
SkipCollisionDetectionBroadPhase is a
CollisionDetectionBroadPhase
implementation that skips the broad phase check if a game does not require it. - SkipCollisionDetectionBroadPhase() - Constructor for class technology.sola.engine.physics.system.collision.SkipCollisionDetectionBroadPhase
- SMOOTH_STEP - Static variable in interface technology.sola.math.EasingFunction
-
Function that is slower at the start and at the end, but quicker in the middle.
- smoothingFunction() - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Returns the value of the
smoothingFunction
record component. - socketClient - Variable in class technology.sola.engine.core.SolaPlatform
-
The
SocketClient
for the platform. - SocketClient - Interface in technology.sola.engine.networking.socket
-
SocketClient defines the api for interacting with a socket server.
- SocketMessage - Class in technology.sola.engine.networking.socket
-
SocketMessage contains data transmitted between a server and client.
- SocketMessage(int, String) - Constructor for class technology.sola.engine.networking.socket.SocketMessage
-
Creates a new SocketMessage instance.
- SocketMessageDecoder - Class in technology.sola.engine.networking.socket
-
SocketMessageDecoder is responsible for decoding
SocketMessage
s from payloads received over sockets. - SocketMessageDecoder() - Constructor for class technology.sola.engine.networking.socket.SocketMessageDecoder
- SocketMessageEncoder - Class in technology.sola.engine.networking.socket
-
SocketMessageEncoder is responsible for encoding
SocketMessage
s for transmission over sockets. - SocketMessageEncoder() - Constructor for class technology.sola.engine.networking.socket.SocketMessageEncoder
- SoftwareRenderer - Class in technology.sola.engine.graphics.renderer
-
SoftwareRenderer is a
Renderer
implementation that draws on an in memory array of pixels using the CPU. - SoftwareRenderer(int, int) - Constructor for class technology.sola.engine.graphics.renderer.SoftwareRenderer
-
Creates a SoftwareRenderer with width and height.
- Sola - Class in technology.sola.engine.core
-
Sola contains the core functionality needed to make a game.
- Sola(SolaConfiguration) - Constructor for class technology.sola.engine.core.Sola
-
Creates a Sola instance with desired
SolaConfiguration
. - SolaConfiguration - Record Class in technology.sola.engine.core
-
Creates a
SolaConfiguration
. - SolaConfiguration(String, int, int) - Constructor for record class technology.sola.engine.core.SolaConfiguration
-
Creates a
SolaConfiguration
with targetUpdatePerSecond defaulted to 60. - SolaConfiguration(String, int, int, int) - Constructor for record class technology.sola.engine.core.SolaConfiguration
-
Creates an instance of a
SolaConfiguration
record class. - solaControls - Variable in class technology.sola.engine.defaults.SolaWithDefaults
-
The
SolaControls
instance for this Sola. - SolaControls - Class in technology.sola.engine.input
-
SolaControls contains control definitions for a
Sola
to use. - SolaControls(KeyboardInput, MouseInput) - Constructor for class technology.sola.engine.input.SolaControls
-
Creates a SolaControls instance wrapping all supported input devices.
- solaEcs - Variable in class technology.sola.engine.core.Sola
-
The
SolaEcs
instance used by this Sola - SolaEntityGraphicsModule<V extends technology.sola.ecs.view.ViewEntry> - Class in technology.sola.engine.defaults.graphics.modules
-
SolaEntityGraphicsModule adds rendering functionality to
SolaGraphics
for renderingEntity
that have specifiedComponent
s. - SolaEntityGraphicsModule() - Constructor for class technology.sola.engine.defaults.graphics.modules.SolaEntityGraphicsModule
- solaEventHub - Variable in class technology.sola.engine.core.SolaPlatform
- solaGraphics() - Method in class technology.sola.engine.defaults.SolaWithDefaults
-
The
SolaGraphics
instance for this Sola. - SolaGraphics - Class in technology.sola.engine.defaults
-
SolaGraphics provides default rendering capabilities while also allowing for adding new rendering capabilities via
SolaGraphicsModule
s. - SolaGraphics(SolaEcs) - Constructor for class technology.sola.engine.defaults.SolaGraphics
-
Creates a SolaGraphics instance.
- SolaGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
SolaGraphicsModule adds additional rendering functionality to
SolaGraphics
. - SolaGraphicsModule() - Constructor for class technology.sola.engine.defaults.graphics.modules.SolaGraphicsModule
- SolaImage - Class in technology.sola.engine.assets.graphics
-
SolaImage is an
Asset
that holds pixel data for an image. - SolaImage(int, int) - Constructor for class technology.sola.engine.assets.graphics.SolaImage
-
Creates an empty image with width and height.
- SolaImage(int, int, int[]) - Constructor for class technology.sola.engine.assets.graphics.SolaImage
-
Creates an image from source pixel array.
- SolaLogger - Class in technology.sola.logging
-
SolaLogger instances are used to log messages to the console and/or files.
- SolaLogger() - Constructor for class technology.sola.logging.SolaLogger
- SolaLoggerFactory - Interface in technology.sola.logging
-
SolaLoggerFactory is an interface for defining the api for creating new
SolaLogger
instances for a targetSolaPlatform
. - SolaLogLevel - Enum Class in technology.sola.logging
-
SolaLogLevel defines the available sola engine logging levels.
- SolaLogMessageFormatter - Class in technology.sola.logging
-
SolaLogMessageFormatter is a
SimpleFormatter
implementation for sola engine log messages. - SolaLogMessageFormatter() - Constructor for class technology.sola.logging.SolaLogMessageFormatter
- SolaMath - Class in technology.sola.math
-
SolaMath is a collection of static math functions.
- solaPhysics() - Method in class technology.sola.engine.defaults.SolaWithDefaults
-
The
SolaPhysics
instance for this Sola. - SolaPhysics - Class in technology.sola.engine.defaults
-
SolaPhysics configures several physics systems in a default configuration.
- SolaPhysics(EventHub) - Constructor for class technology.sola.engine.defaults.SolaPhysics
-
Creates a SolaPhysics instance using an
EventHub
. - SolaPlatform - Class in technology.sola.engine.core
-
SolaPlatform defines the API for a platform to run
Sola
. - SolaPlatform() - Constructor for class technology.sola.engine.core.SolaPlatform
- SolaPlatform.GameLoopProvider - Interface in technology.sola.engine.core
-
GameLoopProvider is a
FunctionalInterface
defining the contract for providing aGameLoop
implementation for the sola game engine to use. - SolaPlatform.MouseCoordinate - Record Class in technology.sola.engine.core
-
Holds the coordinate of the mouse.
- SolaPlatform.SolaPlatformInitialization - Interface in technology.sola.engine.core
-
SolaPlatformInitialization is a
FunctionalInterface
defining the contract for finishing initialization of aSolaPlatform
. - SolaPlatformIdentifier - Record Class in technology.sola.engine.core
-
SolaPlatformIdentifier is a unique identifier for a
SolaPlatform
implementation. - SolaPlatformIdentifier(String, SolaPlatformType) - Constructor for record class technology.sola.engine.core.SolaPlatformIdentifier
-
Creates an instance of a
SolaPlatformIdentifier
record class. - SolaPlatformType - Enum Class in technology.sola.engine.core
-
SolaPlatformType represents the broad types of devices that a particular
SolaPlatform
is implemented for. - SolaRandom - Class in technology.sola.engine.utils
-
Wrapper around
Random
that exposes some additional convenience methods. - SolaWithDefaults - Class in technology.sola.engine.defaults
-
SolaWithDefaults extends
Sola
with some default behaviors that many games will find useful, such as default physics configurations and rendering options. - SolaWithDefaults(SolaConfiguration) - Constructor for class technology.sola.engine.defaults.SolaWithDefaults
-
Creates a SolaWithDefaults instance with desired
SolaConfiguration
. - SolaWithDefaults.DefaultsConfigurator - Class in technology.sola.engine.defaults
-
DefaultsConfigurator provides methods for enabling various default functionality.
- SPACE - Enum constant in enum class technology.sola.engine.input.Key
-
Space key.
- SPACE_AROUND - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Children are evenly distributed along the axis with the space between each adjacent item being the same.
- SPACE_BETWEEN - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Children are evenly distributed with spacing between each pair of adjacent items being the same.
- SPACE_EVENLY - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Children are evenly distributed along the axis with the space between each adjacent item being the same.
- SpatialHashMap - Class in technology.sola.engine.physics.utils
-
The SpatialHashMap class is a spatial hashmap implementation that maps
Entity
into a bucket with other entities based on its 2D coordinate. - SpatialHashMap(Collection<View2Entry<ColliderComponent, TransformComponent>>) - Constructor for class technology.sola.engine.physics.utils.SpatialHashMap
-
Creates a SpatialHashMap with cellSize set to twice the max width/height of the largest
Entity
. - SpatialHashMap(Collection<View2Entry<ColliderComponent, TransformComponent>>, int) - Constructor for class technology.sola.engine.physics.utils.SpatialHashMap
-
Creates a SpatialHashMap with desired cell size.
- SpatialHashMap.BucketId - Record Class in technology.sola.engine.physics.utils
-
BucketId holds the top, left coordinate that identifies a bucket.
- SpatialHashMapCollisionDetectionBroadPhase - Class in technology.sola.engine.physics.system.collision
-
SpatialHashMapCollisionDetectionBroadPhase is a
CollisionDetectionBroadPhase
implementation utilizing aSpatialHashMap
internally. - SpatialHashMapCollisionDetectionBroadPhase() - Constructor for class technology.sola.engine.physics.system.collision.SpatialHashMapCollisionDetectionBroadPhase
-
Creates an instance that allows the internal spatial hash map to determine a good cell size based on the entities.
- SpatialHashMapCollisionDetectionBroadPhase(Integer) - Constructor for class technology.sola.engine.physics.system.collision.SpatialHashMapCollisionDetectionBroadPhase
-
Creates an instance with fixed cell size for the internal spatial hash map.
- SpriteAnimatorComponent - Class in technology.sola.engine.graphics.components.animation
-
SpritesAnimatorComponent is a
Component
that contains data for controlling how aSpriteComponent
animates between frames. - SpriteAnimatorComponent(String, int, SpriteKeyFrame...) - Constructor for class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Creates a SpriteAnimatorComponent with animation id and an array of key frames.
- SpriteAnimatorComponent(String, SpriteKeyFrame...) - Constructor for class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Creates a SpriteAnimatorComponent with animation id and an array of key frames.
- SpriteAnimatorComponent.AnimationCompleteCallback - Interface in technology.sola.engine.graphics.components.animation
-
AnimationCompleteCallback is a
FunctionalInterface
for defining functionality that happens when an animation completes. - SpriteAnimatorSystem - Class in technology.sola.engine.graphics.system
-
SpriteAnimatorSystem handles updating the animation state of
Entity
that have aSpriteComponent
andSpriteAnimatorComponent
. - SpriteAnimatorSystem() - Constructor for class technology.sola.engine.graphics.system.SpriteAnimatorSystem
- SpriteComponent - Class in technology.sola.engine.graphics.components
-
SpriteComponent is a
Component
that contains data for rendering 2d sprites for anEntity
. - SpriteComponent(String, String) - Constructor for class technology.sola.engine.graphics.components.SpriteComponent
-
Creates a SpriteComponent for a sprite sheet and sprite id.
- SpriteComponent(SolaImage) - Constructor for class technology.sola.engine.graphics.components.SpriteComponent
-
Creates a SpriteComponent from a
SolaImage
. - SpriteComponent(SpriteKeyFrame) - Constructor for class technology.sola.engine.graphics.components.SpriteComponent
-
Creates a SpriteComponent from a
SpriteKeyFrame
. - SpriteElementJsonBlueprint - Class in technology.sola.engine.graphics.gui.json.element
- SpriteElementJsonBlueprint() - Constructor for class technology.sola.engine.graphics.gui.json.element.SpriteElementJsonBlueprint
-
Creates an instance of this
GuiElementJsonBlueprint
. - SpriteEntityGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
SpriteEntityGraphicsModule is a
SolaEntityGraphicsModule
implementation for renderingEntity
that have aTransformComponent
andSpriteComponent
. - SpriteEntityGraphicsModule(AssetLoader<SpriteSheet>) - Constructor for class technology.sola.engine.defaults.graphics.modules.SpriteEntityGraphicsModule
-
Creates an instance of SpriteEntityGraphicsModule.
- SpriteGuiElement - Class in technology.sola.engine.graphics.gui.elements
-
SpriteGuiElement is a
GuiElement
that renders a sprite from aSpriteSheet
in a GUI. - SpriteGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.SpriteGuiElement
- SpriteInfo - Record Class in technology.sola.engine.assets.graphics.spritesheet
-
Contains information about a sprite within a spritesheet.
- SpriteInfo(String, int, int, int, int) - Constructor for record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Creates an instance of a
SpriteInfo
record class. - SpriteKeyFrame - Class in technology.sola.engine.graphics.components
-
SpriteKeyFrame holds information about how long a particular sprite should be rendered as part of an animation.
- SpriteKeyFrame(String, String) - Constructor for class technology.sola.engine.graphics.components.SpriteKeyFrame
-
Creates a new sprite key frame from desired
SpriteSheet
id and sprite id. - SpriteKeyFrame(String, String, long) - Constructor for class technology.sola.engine.graphics.components.SpriteKeyFrame
-
Creates a new sprite key frame from desired
SpriteSheet
id, sprite id, and duration. - SpriteKeyFrame(SolaImage) - Constructor for class technology.sola.engine.graphics.components.SpriteKeyFrame
-
Creates a new sprite key frame from desired
SolaImage
. - SpriteKeyFrame(SolaImage, long) - Constructor for class technology.sola.engine.graphics.components.SpriteKeyFrame
-
Creates a new sprite key frame from desired
SolaImage
and duration. - sprites() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Returns the value of the
sprites
record component. - spriteSheet() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Returns the value of the
spriteSheet
record component. - SpriteSheet - Class in technology.sola.engine.assets.graphics.spritesheet
-
SpriteSheet is an
Asset
for a collection of sprites. - SpriteSheet(SolaImage) - Constructor for class technology.sola.engine.assets.graphics.spritesheet.SpriteSheet
-
Creates a new SpriteSheet from a
SolaImage
source. - SpriteSheetAssetLoader - Class in technology.sola.engine.assets.graphics.spritesheet
-
SpriteSheetAssetLoader is an
AssetLoader
implementation forSpriteSheet
s. - SpriteSheetAssetLoader(AssetLoader<JsonElementAsset>, AssetLoader<SolaImage>) - Constructor for class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetAssetLoader
-
Creates an instance of this asset loader.
- SpriteSheetInfo - Record Class in technology.sola.engine.assets.graphics.spritesheet
-
Contains information about a spritesheet.
- SpriteSheetInfo(String, List<SpriteInfo>) - Constructor for record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Creates an instance of a
SpriteSheetInfo
record class. - SpriteSheetInfoJsonMapper - Class in technology.sola.engine.assets.graphics.spritesheet
-
SpriteSheetInfoJsonMapper is a
JsonMapper
implementation forSpriteSheetInfo
. - SpriteSheetInfoJsonMapper() - Constructor for class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfoJsonMapper
- START - Enum constant in enum class technology.sola.engine.graphics.gui.elements.TextStyles.TextAlignment
-
Renders text at the start of the rendering space available.
- START - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.CrossAxisChildren
-
Children are aligned to the start of the axis.
- START - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Children are aligned to the start of the axis.
- startLoop() - Method in class technology.sola.engine.core.FixedUpdateGameLoop
- startLoop() - Method in class technology.sola.engine.core.GameLoop
-
Called to start the main game loop.
- state() - Method in interface technology.sola.engine.assets.input.ControlInputCondition
-
The state the input needs to be in to be considered active.
- state() - Method in record class technology.sola.engine.assets.input.KeyControlInputCondition
-
Returns the value of the
state
record component. - state() - Method in record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
-
Returns the value of the
state
record component. - state() - Method in record class technology.sola.engine.assets.input.MouseWheelControlInputCondition
-
Returns the value of the
state
record component. - state() - Method in record class technology.sola.engine.core.event.GameLoopEvent
-
Returns the value of the
state
record component. - status() - Method in record class technology.sola.engine.networking.rest.HttpResponse
-
Returns the value of the
status
record component. - stop() - Method in interface technology.sola.engine.assets.audio.AudioClip
-
Stops audio playback.
- stop() - Method in class technology.sola.engine.core.GameLoop
-
Stops the game loop.
- STOP - Enum constant in enum class technology.sola.engine.core.event.GameLoopState
-
The game loop has begun the process to stop.
- STOPPED - Enum constant in enum class technology.sola.engine.core.event.GameLoopState
-
The game loop has finished stopping.
- stopPropagation() - Method in class technology.sola.engine.graphics.gui.event.GuiEvent
-
Stops this event from propagating further.
- STRETCH - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.CrossAxisChildren
-
Children are stretched across the axis.
- STRETCH - Enum constant in enum class technology.sola.engine.graphics.screen.AspectMode
-
Resizing the window will cause the rendered output to stretch to fill the screen.
- style() - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Returns the value of the
style
record component. - styleContainer - Variable in class technology.sola.engine.graphics.gui.GuiElement
-
The
StyleContainer
for the element. - StyleContainer<Style extends BaseStyles> - Class in technology.sola.engine.graphics.gui.style
-
StyleContainer is a container for
ConditionalStyle
s that apply to aGuiElement
. - StyleContainer(GuiElement<Style, ?>) - Constructor for class technology.sola.engine.graphics.gui.style.StyleContainer
-
Creates a StyleContainer instance for a
GuiElement
. - styles() - Method in class technology.sola.engine.graphics.gui.GuiElement
- StylesJsonBlueprintUtils - Class in technology.sola.engine.graphics.gui.json.styles
-
A collection of common
JsonElement
parsing methods for use byStylesJsonValueParser
s. - StylesJsonValueParser<Builder extends BaseStyles.Builder<?>> - Interface in technology.sola.engine.graphics.gui.json.styles
-
StylesJsonValueParser handles parsing a style value from a
JsonElement
and setting it into a StylesBuilder. - StyleValue - Class in technology.sola.engine.graphics.gui.style.property
-
StyleValue holds a numeric value that can be represented as an absolute value or a relative percentage value.
- StyleValue(int) - Constructor for class technology.sola.engine.graphics.gui.style.property.StyleValue
-
Creates a StyleValue that is an absolute pixel value.
- StyleValue(String) - Constructor for class technology.sola.engine.graphics.gui.style.property.StyleValue
-
Creates a StyleValue from a string that can be a pixel value or percentage.
- subtract(Vector2D) - Method in record class technology.sola.math.linear.Vector2D
-
Calculates the difference of two vectors and returns the sum as a new vector object.
- SWING - Static variable in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Identifier for the Swing
SolaPlatform
implementation.
T
- T - Enum constant in enum class technology.sola.engine.input.Key
-
T key.
- TAB - Enum constant in enum class technology.sola.engine.input.Key
-
Tab key.
- targetUpdatesPerSecond() - Method in record class technology.sola.engine.core.SolaConfiguration
-
Returns the value of the
targetUpdatesPerSecond
record component. - technology.sola.engine - module technology.sola.engine
-
Defines the sola-game-engine API.
- technology.sola.engine.assets - package technology.sola.engine.assets
-
This package provides classes for loading various asset types.
- technology.sola.engine.assets.audio - package technology.sola.engine.assets.audio
-
This package provides various classes related to assets related to audio.
- technology.sola.engine.assets.exception - package technology.sola.engine.assets.exception
-
This package provides various exceptions for errors that may happen during asset operations.
- technology.sola.engine.assets.graphics - package technology.sola.engine.assets.graphics
-
This package provides various classes related to assets related to graphics.
- technology.sola.engine.assets.graphics.font - package technology.sola.engine.assets.graphics.font
-
This package provides classes related to the
Font
asset type. - technology.sola.engine.assets.graphics.font.exception - package technology.sola.engine.assets.graphics.font.exception
-
This package provides various exceptions for errors that may happen during
Font
asset operations. - technology.sola.engine.assets.graphics.font.mapper - package technology.sola.engine.assets.graphics.font.mapper
-
This package provides
JsonMapper
implementations for various classes related to font assets. - technology.sola.engine.assets.graphics.gui - package technology.sola.engine.assets.graphics.gui
-
This package provides various classes related to gui assets.
- technology.sola.engine.assets.graphics.spritesheet - package technology.sola.engine.assets.graphics.spritesheet
-
This package provides classes related to the
SpriteSheet
asset type. - technology.sola.engine.assets.input - package technology.sola.engine.assets.input
-
This package provides various classes related to assets related to input.
- technology.sola.engine.assets.json - package technology.sola.engine.assets.json
-
This package provides various classes related to assets related to JSON files.
- technology.sola.engine.core - package technology.sola.engine.core
-
This package provides the core classes related to the core functionality of the sola-game-engine.
- technology.sola.engine.core.component - package technology.sola.engine.core.component
-
This package provides
Component
s that are considered a core part of the sola-game-engine. - technology.sola.engine.core.event - package technology.sola.engine.core.event
-
This package provides
Event
definitions that are a core part of sola-game-engine. - technology.sola.engine.defaults - package technology.sola.engine.defaults
-
This package provides classes that provide default functionality to build games with using the various areas of code throughout the sola-game-engine.
- technology.sola.engine.defaults.graphics.modules - package technology.sola.engine.defaults.graphics.modules
-
This package provides various default implementation of
SolaGraphicsModule
to be used inSolaGraphics
. - technology.sola.engine.event - package technology.sola.engine.event
-
This package provides classes to handle
Event
s for sola-game-engine. - technology.sola.engine.graphics - package technology.sola.engine.graphics
-
This package provides classes for dealing with graphics in sola-game-engine.
- technology.sola.engine.graphics.components - package technology.sola.engine.graphics.components
-
This package provides
Component
s related to rendering graphics. - technology.sola.engine.graphics.components.animation - package technology.sola.engine.graphics.components.animation
-
This package provides
Component
s related to animating graphics. - technology.sola.engine.graphics.gui - package technology.sola.engine.graphics.gui
-
This package provides functionality for rendering GUI for games.
- technology.sola.engine.graphics.gui.elements - package technology.sola.engine.graphics.gui.elements
-
This package provides a general set of useful implementation of
GuiElement
. - technology.sola.engine.graphics.gui.elements.input - package technology.sola.engine.graphics.gui.elements.input
-
This package provides implementations of
GuiElement
that allow for user interaction. - technology.sola.engine.graphics.gui.event - package technology.sola.engine.graphics.gui.event
-
This package provides event definitions for GUI related events.
- technology.sola.engine.graphics.gui.json - package technology.sola.engine.graphics.gui.json
-
This package provides functionality for building
GuiJsonDocument
instances from JSON. - technology.sola.engine.graphics.gui.json.element - package technology.sola.engine.graphics.gui.json.element
-
This package provides classes for building
GuiElement
from JSON. - technology.sola.engine.graphics.gui.json.exception - package technology.sola.engine.graphics.gui.json.exception
-
This package provides various exceptions for errors that may happen during gui json operations.
- technology.sola.engine.graphics.gui.json.styles - package technology.sola.engine.graphics.gui.json.styles
-
This package provides classes for parsing Styles objects from JSON.
- technology.sola.engine.graphics.gui.style - package technology.sola.engine.graphics.gui.style
-
This package provides common properties for styling
GuiElement
. - technology.sola.engine.graphics.gui.style.property - package technology.sola.engine.graphics.gui.style.property
-
This package provides common style property definitions.
- technology.sola.engine.graphics.gui.style.theme - package technology.sola.engine.graphics.gui.style.theme
-
This package provides functionality for providing default styling for
GuiElement
. - technology.sola.engine.graphics.gui.util - package technology.sola.engine.graphics.gui.util
-
This package provides utilities useful in rendering game GUI.
- technology.sola.engine.graphics.renderer - package technology.sola.engine.graphics.renderer
-
This packages provides the definition of the sola-game-engine
Renderer
and a default software based implementation. - technology.sola.engine.graphics.renderer.blend - package technology.sola.engine.graphics.renderer.blend
-
This package contains various implementations of
BlendFunction
. - technology.sola.engine.graphics.screen - package technology.sola.engine.graphics.screen
-
This package provides classes for handling aspect ratio when the viewport size changes.
- technology.sola.engine.graphics.system - package technology.sola.engine.graphics.system
-
This package provides
EcsSystem
s that operate on graphics relatedComponent
s. - technology.sola.engine.input - package technology.sola.engine.input
-
This package provides classes for handling various types of user input.
- technology.sola.engine.networking - package technology.sola.engine.networking
-
This package provides general networking classes.
- technology.sola.engine.networking.rest - package technology.sola.engine.networking.rest
-
This package provides REST networking classes.
- technology.sola.engine.networking.socket - package technology.sola.engine.networking.socket
-
This package provides socket networking classes.
- technology.sola.engine.physics - package technology.sola.engine.physics
-
This package provides classes for simulating physics.
- technology.sola.engine.physics.component - package technology.sola.engine.physics.component
-
This package provides various
Component
s for simulating physics. - technology.sola.engine.physics.component.collider - package technology.sola.engine.physics.component.collider
-
This package provides various functionality for
ColliderComponent
. - technology.sola.engine.physics.event - package technology.sola.engine.physics.event
-
This package provides
Event
s related to physics operations. - technology.sola.engine.physics.system - package technology.sola.engine.physics.system
-
This package provides various
EcsSystem
s for simulating physics. - technology.sola.engine.physics.system.collision - package technology.sola.engine.physics.system.collision
-
This package contains broad phase collision detection implementations for
CollisionDetectionSystem
to use. - technology.sola.engine.physics.utils - package technology.sola.engine.physics.utils
-
This package contains various utilities for helping in physics related calculations.
- technology.sola.engine.utils - package technology.sola.engine.utils
-
This package provides various utilities useful for the sola-game-engine.
- technology.sola.logging - package technology.sola.logging
-
This package provides simple logging functionality for sola-engine to use.
- technology.sola.math - package technology.sola.math
-
This package provides several math classes and utilities.
- technology.sola.math.geometry - package technology.sola.math.geometry
-
This package provides geometry classes and utilities.
- technology.sola.math.linear - package technology.sola.math.linear
-
This package provides linear algebra classes and utilities.
- TEXT_ALIGNMENT - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default rendering value for
TextStyles.textAlignment()
. - TEXT_COLOR - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default rendering value for
TextStyles.textColor()
. - textAlignment() - Method in class technology.sola.engine.graphics.gui.elements.TextStyles
- textColor() - Method in class technology.sola.engine.graphics.gui.elements.TextStyles
- TextDimensions(int, int) - Constructor for record class technology.sola.engine.assets.graphics.font.Font.TextDimensions
-
Creates an instance of a
TextDimensions
record class. - TextElementJsonBlueprint - Class in technology.sola.engine.graphics.gui.json.element
- TextElementJsonBlueprint() - Constructor for class technology.sola.engine.graphics.gui.json.element.TextElementJsonBlueprint
-
Creates an instance of this
GuiElementJsonBlueprint
. - TextGuiElement - Class in technology.sola.engine.graphics.gui.elements
-
TextGuiElement is a
GuiElement
that renders text for a GUI. - TextGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.TextGuiElement
- TextInputElementJsonBlueprint - Class in technology.sola.engine.graphics.gui.json.element
- TextInputElementJsonBlueprint() - Constructor for class technology.sola.engine.graphics.gui.json.element.TextInputElementJsonBlueprint
-
Creates an instance of this
GuiElementJsonBlueprint
. - TextInputGuiElement - Class in technology.sola.engine.graphics.gui.elements.input
-
TextInputGuiElement is a
BaseInputGuiElement
that allows users to interact via typing text into the field. - TextInputGuiElement() - Constructor for class technology.sola.engine.graphics.gui.elements.input.TextInputGuiElement
-
Creates an instance of TextInputGuiElement registering default event listeners for typing characters into the field.
- TextInputStyles - Class in technology.sola.engine.graphics.gui.elements.input
-
TextInputStyles extends
TextStyles
properties adding in extra properties for text input. - TextInputStyles(TextInputStyles.Builder<?>) - Constructor for class technology.sola.engine.graphics.gui.elements.input.TextInputStyles
-
Populates
TextInputStyles
properties from itsTextInputStyles.Builder
. - TextInputStyles.Builder<Self extends TextInputStyles.Builder<Self>> - Class in technology.sola.engine.graphics.gui.elements.input
-
Builder class for
TextInputStyles
. - TextInputStylesJsonValueParser - Class in technology.sola.engine.graphics.gui.json.styles
-
A
StylesJsonValueParser
implementation forTextStyles.Builder
. - TextInputStylesJsonValueParser() - Constructor for class technology.sola.engine.graphics.gui.json.styles.TextInputStylesJsonValueParser
- TextRenderDetails - Record Class in technology.sola.engine.graphics.gui.util
-
TextRenderDetails contains the rendering information needed for text.
- TextRenderDetails(int, List<String>, GuiElementDimensions) - Constructor for record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Creates an instance of a
TextRenderDetails
record class. - TextRenderUtils - Class in technology.sola.engine.graphics.gui.util
-
TextRenderUtils contains methods useful for rendering text for a GUI.
- TextStyles - Class in technology.sola.engine.graphics.gui.elements
-
TextStyles extends
BaseStyles
properties by adding extra properties for rendering text. - TextStyles(TextStyles.Builder<?>) - Constructor for class technology.sola.engine.graphics.gui.elements.TextStyles
-
Populates
TextStyles
properties from itsTextStyles.Builder
. - TextStyles.Builder<Self extends TextStyles.Builder<Self>> - Class in technology.sola.engine.graphics.gui.elements
-
Builder class for
TextStyles
. - TextStyles.TextAlignment - Enum Class in technology.sola.engine.graphics.gui.elements
-
TextAlignment informs where text should be rendered within its available rendering space.
- TextStylesJsonValueParser - Class in technology.sola.engine.graphics.gui.json.styles
-
A
StylesJsonValueParser
implementation forTextStyles.Builder
. - TextStylesJsonValueParser() - Constructor for class technology.sola.engine.graphics.gui.json.styles.TextStylesJsonValueParser
- THREE - Enum constant in enum class technology.sola.engine.input.Key
-
3 key.
- tickAnimation(float) - Method in class technology.sola.engine.graphics.components.animation.SpriteAnimatorComponent
-
Ticks the animation state by a delta time.
- tickAnimation(TransformComponent, float) - Method in class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Ticks the animation state by a delta time updating the desired
TransformComponent
. - tickFlicker(float) - Method in class technology.sola.engine.graphics.components.LightComponent
-
Method called each from to tick the state of this light's flickering if a
LightFlicker
has been set. - tickFrames() - Method in class technology.sola.engine.core.GameLoop.FpsTracker
-
Signal a frame tick happened.
- tickUpdate() - Method in class technology.sola.engine.core.GameLoop.FpsTracker
-
Signals an update tick happened.
- tint(float) - Method in class technology.sola.engine.graphics.Color
-
Creates a new Color that is a tint of this Color.
- title() - Method in record class technology.sola.engine.core.SolaConfiguration
-
Returns the value of the
title
record component. - toJson(FontGlyph) - Method in class technology.sola.engine.assets.graphics.font.mapper.FontGlyphJsonMapper
- toJson(FontInfo) - Method in class technology.sola.engine.assets.graphics.font.mapper.FontInfoJsonMapper
- toJson(SpriteSheetInfo) - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfoJsonMapper
- toJson(ControlsConfig) - Method in class technology.sola.engine.assets.input.ControlsConfigJsonMapper
- toObject(JsonObject) - Method in class technology.sola.engine.assets.graphics.font.mapper.FontGlyphJsonMapper
- toObject(JsonObject) - Method in class technology.sola.engine.assets.graphics.font.mapper.FontInfoJsonMapper
- toObject(JsonObject) - Method in class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfoJsonMapper
- toObject(JsonObject) - Method in class technology.sola.engine.assets.input.ControlsConfigJsonMapper
- top() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns the value of the
top
record component. - top() - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Returns the value of the
top
record component. - toString() - Method in record class technology.sola.engine.assets.graphics.font.Font.TextDimensions
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.graphics.font.FontInfo
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.graphics.gui.GuiJsonDocument
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.input.ControlInput
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.input.ControlsConfig
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.input.KeyControlInputCondition
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.input.MouseButtonControlInputCondition
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.input.MouseWheelControlInputCondition
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.assets.json.JsonElementAsset
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.core.event.GameLoopEvent
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.core.SolaConfiguration
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.core.SolaPlatform.MouseCoordinate
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Returns a string representation of this record class.
- toString() - Method in class technology.sola.engine.graphics.Color
- toString() - Method in record class technology.sola.engine.graphics.components.LightFlicker
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.GuiElementDimensions
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.style.ConditionalStyle
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.style.property.Background
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.style.property.Border
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.style.property.Padding
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.style.property.Position
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.gui.util.TextRenderDetails
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.input.KeyEvent
-
Returns a string representation of this record class.
- toString() - Method in enum class technology.sola.engine.input.MouseButton
- toString() - Method in record class technology.sola.engine.input.MouseEvent
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.input.MouseWheelEvent
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.networking.rest.HttpResponse
-
Returns a string representation of this record class.
- toString() - Method in class technology.sola.engine.networking.socket.SocketMessage
- toString() - Method in record class technology.sola.engine.physics.CollisionManifold
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.event.CollisionEvent
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.event.SensorEvent
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.MinimumTranslationVector
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.engine.physics.utils.SpatialHashMap.BucketId
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.math.geometry.Circle
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.math.geometry.Line
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.math.geometry.Rectangle
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.math.geometry.Triangle
-
Returns a string representation of this record class.
- toString() - Method in record class technology.sola.math.linear.Vector2D
-
Returns a string representation of this record class.
- TransformAnimatorComponent - Class in technology.sola.engine.graphics.components.animation
-
TransformAnimatorComponent is a
Component
that contains properties for defining an animation that is applied to anEntity
sTransformComponent
. - TransformAnimatorComponent(EasingFunction, long) - Constructor for class technology.sola.engine.graphics.components.animation.TransformAnimatorComponent
-
Creates a new
TransformAnimatorComponent
with required parameters set. - TransformAnimatorComponent.AnimationCompleteCallback - Interface in technology.sola.engine.graphics.components.animation
-
AnimationCompleteCallback is a
FunctionalInterface
for defining functionality that happens when aTransformAnimatorComponent
animation completes. - TransformAnimatorSystem - Class in technology.sola.engine.graphics.system
-
TransformAnimatorSystem handles updating the animation state of
Entity
that have aTransformComponent
andTransformAnimatorComponent
. - TransformAnimatorSystem() - Constructor for class technology.sola.engine.graphics.system.TransformAnimatorSystem
- TransformComponent - Class in technology.sola.engine.core.component
-
TransformComponent is a
Component
containing translate and scale data for anEntity
. - TransformComponent() - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform with position at (0, 0) and scale set to 1.
- TransformComponent(float, float) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform with desired position and scale set to 1.
- TransformComponent(float, float, float) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform with desired position and scale set to the desired value.
- TransformComponent(float, float, float, float) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform with desired position and scale x and y set to the desired values.
- TransformComponent(float, float, float, float, Entity) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform that has position based on a parent.
- TransformComponent(float, float, float, Entity) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform that has position based on a parent.
- TransformComponent(float, float, Entity) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform that has position based on a parent.
- TransformComponent(Entity) - Constructor for class technology.sola.engine.core.component.TransformComponent
-
Creates a transform that has position based on a parent.
- translate(float, float) - Method in class technology.sola.engine.graphics.AffineTransform
-
Translates by tx, ty.
- translate(float, float) - Static method in class technology.sola.math.linear.Matrix3D
-
Creates a new translation matrix for the desired x,y values.
- Triangle - Record Class in technology.sola.math.geometry
-
Triangle represents a geometric triangle.
- Triangle(Vector2D, Vector2D, Vector2D) - Constructor for record class technology.sola.math.geometry.Triangle
-
Creates an instance of a
Triangle
record class. - TRIANGLE - Enum constant in enum class technology.sola.engine.physics.component.collider.ColliderType
-
Triangle
- TriangleEntityGraphicsModule - Class in technology.sola.engine.defaults.graphics.modules
-
TriangleEntityGraphicsModule is a
SolaEntityGraphicsModule
implementation for renderingEntity
that have aTransformComponent
andTriangleRendererComponent
. - TriangleEntityGraphicsModule() - Constructor for class technology.sola.engine.defaults.graphics.modules.TriangleEntityGraphicsModule
- TriangleRendererComponent - Class in technology.sola.engine.graphics.components
-
TriangleRendererComponent is a
Component
containing data for rendering 2d triangles. - TriangleRendererComponent(Color) - Constructor for class technology.sola.engine.graphics.components.TriangleRendererComponent
-
Creates a "unit triangle" renderer with uniform side lengths of 1.
- TriangleRendererComponent(Color, boolean, Triangle) - Constructor for class technology.sola.engine.graphics.components.TriangleRendererComponent
-
Creates a TriangleRendererComponent of desired color that is either filled or not filled.
- TriangleRendererComponent(Color, Triangle) - Constructor for class technology.sola.engine.graphics.components.TriangleRendererComponent
-
Creates a TriangleRendererComponent of desired color that is filled.
- TWO - Enum constant in enum class technology.sola.engine.input.Key
-
2 key.
- type() - Method in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Returns the value of the
type
record component. - type() - Method in interface technology.sola.engine.physics.component.collider.ColliderShape
-
Gets the
ColliderType
of this collider. - type() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
- type() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeCircle
- type() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeTriangle
U
- U - Enum constant in enum class technology.sola.engine.input.Key
-
U key.
- UNIT_MASS_MATERIAL - Static variable in class technology.sola.engine.physics.Material
-
Material with mass set to 1, restitution set to 0.01 and friction set to 0.
- unsubscribe() - Method in interface technology.sola.engine.graphics.gui.event.GuiEventSubscription
-
Removes the
GuiEventListener
from theGuiEventListenerList
when called. - UnsupportedStylesPropertyException - Exception in technology.sola.engine.graphics.gui.json.exception
-
Exception thrown when reading a GUI JSON file that uses a styles property that is not recognized.
- UnsupportedStylesPropertyException(String) - Constructor for exception technology.sola.engine.graphics.gui.json.exception.UnsupportedStylesPropertyException
-
Creates an instance of this exception.
- UP - Enum constant in enum class technology.sola.engine.assets.input.MouseWheelControlInputCondition.State
-
Mouse wheel was moved up.
- UP - Enum constant in enum class technology.sola.engine.input.Key
-
Up key.
- update(float) - Method in class technology.sola.engine.physics.component.ParticleEmitterComponent.Particle
-
Updates the position and lifespan of a particle based on the elapsed delta.
- update(World, float) - Method in class technology.sola.engine.graphics.system.LightFlickerSystem
- update(World, float) - Method in class technology.sola.engine.graphics.system.SpriteAnimatorSystem
- update(World, float) - Method in class technology.sola.engine.graphics.system.TransformAnimatorSystem
- update(World, float) - Method in class technology.sola.engine.physics.system.CollisionDetectionSystem
- update(World, float) - Method in class technology.sola.engine.physics.system.GravitySystem
- update(World, float) - Method in class technology.sola.engine.physics.system.ImpulseCollisionResolutionSystem
- update(World, float) - Method in class technology.sola.engine.physics.system.ParticleSystem
- update(World, float) - Method in class technology.sola.engine.physics.system.PhysicsSystem
- update(QuadTreeNode.QuadTreeData) - Method in class technology.sola.engine.physics.utils.QuadTreeNode
-
Updates an entry in the quad tree.
- updateAlpha(int) - Method in class technology.sola.engine.graphics.Color
-
Returns a new
Color
with updated alpha. - updateCatchUpAccumulator - Variable in class technology.sola.engine.core.GameLoop
-
Holds accumulated lost time when the fixed update loop cannot keep up.
- updateMethod - Variable in class technology.sola.engine.core.GameLoop
-
Method to call each update.
- updateSprite(String, SpriteInfo) - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteSheetInfo
-
Updates a sprite by id and returns a new instance.
- updateStatusOfKeys() - Method in class technology.sola.engine.input.KeyboardInput
-
Called once per frame to update the current status of the keyboard based on the user's interaction.
- updateStatusOfMouse() - Method in class technology.sola.engine.input.MouseInput
-
Called once per frame to update the current status of the mouse based on the user's interaction.
- useBackgroundColor(Color) - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Updates the background color (what everything clears to each frame).
- useDebug() - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Enables debug rendering.
- useGraphics() - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Initializes the
SolaWithDefaults.solaGraphics
instance. - useGui() - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Initializes the
GuiDocument
instance with a lightGuiTheme
. - useGui(GuiTheme) - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Initializes the
GuiDocument
instance with a desiredGuiTheme
.The theme will only be applied toGuiElement
s that are loaded via JSON files. - useGui(GuiTheme, List<GuiElementJsonBlueprint<?, ?, ?>>) - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Initializes the
GuiDocument
instance with a desiredGuiTheme
. - useLighting() - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Adds the
ScreenSpaceLightMapGraphicsModule
SolaGraphicsModule
with ambient color set to black. - useLighting(Color) - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Adds the
ScreenSpaceLightMapGraphicsModule
SolaGraphicsModule
with ambient color set. - usePhysics() - Method in class technology.sola.engine.defaults.SolaWithDefaults.DefaultsConfigurator
-
Initializes the
SolaWithDefaults.solaPhysics
instance.
V
- V - Enum constant in enum class technology.sola.engine.input.Key
-
V key.
- valueOf(int) - Static method in enum class technology.sola.engine.input.MouseButton
-
Returns the MouseButton enum value for a integer button code.
- valueOf(String) - Static method in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.assets.input.KeyControlInputCondition.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.assets.input.MouseButtonControlInputCondition.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.assets.input.MouseWheelControlInputCondition.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.core.event.GameLoopState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.core.SolaPlatformType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.gui.elements.TextStyles.TextAlignment
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.gui.style.property.CrossAxisChildren
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.gui.style.property.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.gui.style.property.Visibility
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.graphics.screen.AspectMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.input.Key
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.input.KeyboardLayout.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.input.MouseButton
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.engine.physics.component.collider.ColliderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class technology.sola.logging.SolaLogLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class technology.sola.engine.assets.graphics.font.FontStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.assets.input.KeyControlInputCondition.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.assets.input.MouseButtonControlInputCondition.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.assets.input.MouseWheelControlInputCondition.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.core.event.GameLoopState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.core.SolaPlatformType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.gui.elements.TextStyles.TextAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.gui.style.property.CrossAxisChildren
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.gui.style.property.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.gui.style.property.MainAxisChildren
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.gui.style.property.Visibility
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.renderer.BlendMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.graphics.screen.AspectMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.input.Key
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.input.KeyboardLayout.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.input.MouseButton
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.engine.physics.component.collider.ColliderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class technology.sola.logging.SolaLogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector2D - Record Class in technology.sola.math.linear
-
The Vector2D class is an implementation of a linear algebra vector.
- Vector2D(float, float) - Constructor for record class technology.sola.math.linear.Vector2D
-
Create a Vector2D instance with x and y set.
- viewport - Variable in class technology.sola.engine.core.SolaPlatform
-
The
Viewport
for the platform. - Viewport - Class in technology.sola.engine.graphics.screen
-
Viewport contains various information about the current viewport used.
- Viewport(int, int) - Constructor for class technology.sola.engine.graphics.screen.Viewport
-
Creates an instance of the viewport given the canvas's width and height.
- visibility() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines the visibility of the
GuiElement
. - Visibility - Enum Class in technology.sola.engine.graphics.gui.style.property
-
Visibility contains options for element rendering.
- VISIBILITY - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout and rendering value for
BaseStyles.visibility()
. - VISIBLE - Enum constant in enum class technology.sola.engine.graphics.gui.style.property.Visibility
-
Element with render normally.
W
- W - Enum constant in enum class technology.sola.engine.input.Key
-
W key.
- warning(String) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.WARNING
. - warning(String, Object...) - Method in class technology.sola.logging.SolaLogger
-
Logs a message at
SolaLogLevel.WARNING
. - WARNING - Enum constant in enum class technology.sola.logging.SolaLogLevel
-
WARNING is a message level indicating a potential problem.
- Web - Enum constant in enum class technology.sola.engine.core.SolaPlatformType
-
The web platform type is used for platforms implemented for web browsers like Chrome, Firefox or Safari.
- WEB_BROWSER - Static variable in record class technology.sola.engine.core.SolaPlatformIdentifier
-
Identifier for the Browser
SolaPlatform
implementation. - WHITE - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(255, 255, 255).
- width - Variable in class technology.sola.engine.graphics.Canvas
-
The width of the canvas.
- width() - Method in record class technology.sola.engine.assets.graphics.font.Font.TextDimensions
-
Returns the value of the
width
record component. - width() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns the value of the
width
record component. - width() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns the value of the
width
record component. - width() - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Returns the value of the
width
record component. - width() - Method in record class technology.sola.engine.graphics.gui.GuiElementDimensions
-
Returns the value of the
width
record component. - width() - Method in class technology.sola.engine.graphics.gui.style.BaseStyles
-
Defines the preferred width of the
GuiElement
. - width() - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Returns the value of the
width
record component. - width() - Method in record class technology.sola.engine.physics.component.collider.ColliderShapeAABB
-
Returns the value of the
width
record component. - WIDTH - Static variable in class technology.sola.engine.graphics.gui.style.DefaultStyleValues
-
Default layout value for
BaseStyles.width()
.
X
- x() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.core.SolaPlatform.MouseCoordinate
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.graphics.gui.style.property.Position
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.input.MouseEvent
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.engine.physics.utils.SpatialHashMap.BucketId
-
Returns the value of the
x
record component. - x() - Method in record class technology.sola.math.linear.Vector2D
-
Returns the value of the
x
record component. - X - Enum constant in enum class technology.sola.engine.input.Key
-
X key.
Y
- y() - Method in record class technology.sola.engine.assets.graphics.font.FontGlyph
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.assets.graphics.spritesheet.SpriteInfo
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.core.SolaPlatform.MouseCoordinate
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.graphics.gui.GuiElementBounds
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.graphics.gui.style.property.Position
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.graphics.screen.AspectRatioSizing
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.input.MouseEvent
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.engine.physics.utils.SpatialHashMap.BucketId
-
Returns the value of the
y
record component. - y() - Method in record class technology.sola.math.linear.Vector2D
-
Returns the value of the
y
record component. - Y - Enum constant in enum class technology.sola.engine.input.Key
-
Y key.
- YELLOW - Static variable in class technology.sola.engine.graphics.Color
-
Color constant - rgb(255, 255, 0).
Z
- Z - Enum constant in enum class technology.sola.engine.input.Key
-
Z key.
- ZERO - Enum constant in enum class technology.sola.engine.input.Key
-
0 key.
- ZERO - Static variable in class technology.sola.engine.graphics.gui.style.property.StyleValue
-
StyleValue constant for the value of 0.
- ZERO_VECTOR - Static variable in record class technology.sola.math.linear.Vector2D
-
A
Vector2D
with 0 for the x and y.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form