Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
nonoecs-template
master
Top Level Namespace
AABB
BasicSystems
CameraPosition
CameraSystem
Engine
Body
ButtonResource
ButtonState
Collides
CollisionData
Color
DefaultShader
Font
FontDrawText
FontResource
GUI
HAlign
Key
Keys
KinematicBody
MaterialData
Mouse
MouseButtonState
PanelMetrics
Params
Physics
Polygon
RawResource
Sampler2d
Shader
Sound
Sprite
StaticBody
Texture
TileMap
UniformsArray
VAlign
Vec2
Vec3
Vec4
VertexList
VertexListPrimitive
EngineSystem
F
GameConfig
GameSystems
IntVector2
KeyReactSystem
KeysConfig
MeasureGC
Number
QuitEvent
RenderColor
RenderLayer
RenderPosition
RenderRotation
RenderScale
RenderSprite
RenderSystem
RenderTile
RES
ShaderAllShaders
ShouldQuitSystem
Vector2
Built with Crystal 1.9.2
2023-10-07 17:26:33 UTC
struct
Engine::PanelMetrics
Engine::PanelMetrics
Struct
Value
Object
Defined in:
engine/gui.cr
Constructors
.new
(box : AABB, cursor : Vector2)
Class Method Summary
.read_from_engine
Instance Method Summary
#box
: AABB
#clone
#copy_with
(box _box = @box, cursor _cursor = @cursor)
#cursor
: Vector2
Constructor Detail
def self.
new
(box :
AABB
, cursor :
Vector2
)
#
[
View source
]
Class Method Detail
def self.
read_from_engine
#
[
View source
]
Instance Method Detail
def
box
:
AABB
#
def
clone
#
[
View source
]
def
copy_with
(box _box = @box, cursor _cursor = @cursor)
#
[
View source
]
def
cursor
:
Vector2
#