Class: Raylib::Ray

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

Overview

Ray, ray for raycasting

Instance Method Summary collapse

Instance Method Details

#directionObject



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

def direction = self[:direction]

#direction=(v) ⇒ Object



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

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

#positionObject



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

def position = self[:position]

#position=(v) ⇒ Object



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

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