Package graphics.glimpse.hud

Types

Link copied to clipboard
abstract class BaseHudElement(var position: <Error class: unknown class>) : HudElement

Base implementation of HudElement.

Link copied to clipboard
abstract class BaseHudElementWrapper(element: HudElement) : HudElement

Base implementation of HUD element wrappers.

Link copied to clipboard
data class BoundingBox(    val left: Float,     val right: Float,     val top: Float,     val bottom: Float)

Bounding box of an element of HUD.

Link copied to clipboard
class GlimpseHudCallback(    elements: List<HudElement>,     disposable: <Error class: unknown class>? = null,     hudShaderSourcesProvider: HudShaderSourcesProvider = HudShaderSourcesProvider.DEFAULT)

Glimpse callback for HUD.

Link copied to clipboard
interface HudAtom

Interface for most atomic part of HUD.

Link copied to clipboard
interface HudElement

Interface for an element of HUD.

Link copied to clipboard
class Quad(    val texture: <Error class: unknown class>,     var position: <Error class: unknown class> = Vec2.nullVector,     origin: <Error class: unknown class> = Vec2(x = 0.5f, y = 0.5f)) : BaseHudElement, HudAtom

A single quad.

Link copied to clipboard
class Space(var width: Float = 0.0f, var height: Float = 0.0f) : BaseHudElement

Empty space element of HUD.

Link copied to clipboard
class TransformationWrapper(    element: HudElement,     translationProvider: () -> <Error class: unknown class>,     rotationProvider: () -> <Error class: unknown class>,     scaleProvider: () -> <Error class: unknown class>) : BaseHudElementWrapper

Transformation wrapper for element of HUD.

Link copied to clipboard
class VisibilityWrapper(element: HudElement, visibilityProvider: () -> Boolean) : BaseHudElementWrapper

HUD element wrapper changing visibility of the wrapped element.