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

Function WindowWidth

engo_js.go:239–241  ·  view source on GitHub ↗

WindowWidth returns the current window width

()

Source from the content-addressed store, hash-verified

237
238// WindowWidth returns the current window width
239func WindowWidth() float32 {
240 return float32(window.Get("innerWidth").Int())
241}
242
243// WindowHeight returns the current window height
244func WindowHeight() float32 {

Callers 2

CreateWindowFunction · 0.70
WindowSizeFunction · 0.70

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected