Class: Stagecraft::Raycaster::Hit

Inherits:
Data
  • Object
show all
Defined in:
lib/stagecraft/core/raycaster.rb

Instance Attribute Summary collapse

Instance Attribute Details

#distanceObject (readonly)

Returns the value of attribute distance

Returns:

  • (Object)

    the current value of distance



5
6
7
# File 'lib/stagecraft/core/raycaster.rb', line 5

def distance
  @distance
end

#objectObject (readonly)

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



5
6
7
# File 'lib/stagecraft/core/raycaster.rb', line 5

def object
  @object
end

#pointObject (readonly)

Returns the value of attribute point

Returns:

  • (Object)

    the current value of point



5
6
7
# File 'lib/stagecraft/core/raycaster.rb', line 5

def point
  @point
end