Class: Raylib::Camera2D

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

Overview

Camera2D, defines position/orientation in 2d space

Instance Method Summary collapse

Instance Method Details

#offsetObject



712
# File 'lib/raylib_main.rb', line 712

def offset = self[:offset]

#offset=(v) ⇒ Object



713
# File 'lib/raylib_main.rb', line 713

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

#rotationObject



716
# File 'lib/raylib_main.rb', line 716

def rotation = self[:rotation]

#rotation=(v) ⇒ Object



717
# File 'lib/raylib_main.rb', line 717

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

#targetObject



714
# File 'lib/raylib_main.rb', line 714

def target = self[:target]

#target=(v) ⇒ Object



715
# File 'lib/raylib_main.rb', line 715

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

#zoomObject



718
# File 'lib/raylib_main.rb', line 718

def zoom = self[:zoom]

#zoom=(v) ⇒ Object



719
# File 'lib/raylib_main.rb', line 719

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