MCPcopy
hub / github.com/EngoEngine/engo / WindowHeight

Function WindowHeight

engo_js.go:244–246  ·  view source on GitHub ↗

WindowHeight returns the current window height

()

Source from the content-addressed store, hash-verified

242
243// WindowHeight returns the current window height
244func WindowHeight() float32 {
245 return float32(window.Get("innerHeight").Int())
246}
247
248// CanvasWidth returns the current canvas width
249func CanvasWidth() float32 {

Callers 2

CreateWindowFunction · 0.70
WindowSizeFunction · 0.70

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected