MCPcopy Index your code
hub / github.com/EngoEngine/engo / ScaleOnResize

Function ScaleOnResize

engo.go:262–264  ·  view source on GitHub ↗

ScaleOnResize indicates whether or not the screen should resize (i.e. make things look smaller/bigger) whenever the window resized. If `false`, then the size of the screen does not affect the size of the things drawn - it just makes less/more objects visible

()

Source from the content-addressed store, hash-verified

260// the window resized. If `false`, then the size of the screen does not affect the size of the things drawn - it just
261// makes less/more objects visible
262func ScaleOnResize() bool {
263 return opts.ScaleOnResize
264}
265
266// Exit is the safest way to close your game, as `engo` will correctly attempt to close all windows, handlers and contexts
267func Exit() {

Callers 5

PreMethod · 0.92
PrepareCullingMethod · 0.92
PreMethod · 0.92
PrepareCullingMethod · 0.92
TestScaleOnResizeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestScaleOnResizeFunction · 0.68