class

GSDL::ProjectionMatrix

Inherits Reference < Object

Constructors

new(x : Float32 = 0_f32, y : Float32 = 0_f32, width : Float32 = 0_f32, height : Float32 = 0_f32, zoom_x : Float32 = 1.0_f32, zoom_y : Float32 = 1.0_f32)
Source

Class methods

from_game
Source
identity
Source

Instance methods

center_on(tx : Num, ty : Num)
Source
height
Source
height=(height : Float32)
Source
viewport_rect
Source
width
Source
width=(width : Float32)
Source
zoom
Source
zoom=(val : Num)
Source
zoom_x
Source
zoom_x=(zoom_x : Float32)
Source
zoom_y
Source
zoom_y=(zoom_y : Float32)
Source