Class: Raylib::Camera2D

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/raylib_main.rb,
lib/raylib_helper.rb

Overview

Camera2D, defines position/orientation in 2d space

Instance Method Summary collapse

Instance Method Details

#offsetObject



394
395
396
# File 'lib/raylib_helper.rb', line 394

def offset
  self[:offset]
end

#rotationObject



402
403
404
# File 'lib/raylib_helper.rb', line 402

def rotation
  self[:rotation]
end

#rotation=(v) ⇒ Object



406
407
408
# File 'lib/raylib_helper.rb', line 406

def rotation=(v)
  self[:rotation] = v
end

#targetObject



398
399
400
# File 'lib/raylib_helper.rb', line 398

def target
  self[:target]
end

#zoomObject



410
411
412
# File 'lib/raylib_helper.rb', line 410

def zoom
  self[:zoom]
end

#zoom=(v) ⇒ Object



414
415
416
# File 'lib/raylib_helper.rb', line 414

def zoom=(v)
  self[:zoom] = v
end