Class: MG::Events::Acceleration

Inherits:
Object
  • Object
show all
Defined in:
doc/API_reference.rb

Overview

the device, usually from the Scene#on_accelerate method.

Instance Attribute Summary collapse

Instance Attribute Details

#timestampFloat (readonly)



519
520
521
# File 'doc/API_reference.rb', line 519

def timestamp
  @timestamp
end

#xFloat (readonly)



510
511
512
# File 'doc/API_reference.rb', line 510

def x
  @x
end

#yFloat (readonly)



513
514
515
# File 'doc/API_reference.rb', line 513

def y
  @y
end

#zFloat (readonly)



516
517
518
# File 'doc/API_reference.rb', line 516

def z
  @z
end