Reset the camera position so that height world units are visible on the Y axis

This can be used to set standardized UI units independently from the screen resolution.

Property definitions

gamnit $ UICamera :: reset_height
	# Reset the camera position so that `height` world units are visible on the Y axis
	#
	# This can be used to set standardized UI units independently from the screen resolution.
	fun reset_height(height: nullable Float)
	do
		if height == null then height = display.height.to_f
		self.height = height
	end
lib/gamnit/cameras.nit:218,2--225,4