Class: Bayonetta::MOTFile::Record
- Inherits:
-
LibBin::Structure
- Object
- LibBin::Structure
- Bayonetta::MOTFile::Record
- Defined in:
- lib/bayonetta/mot.rb
Instance Method Summary collapse
Instance Method Details
#__size ⇒ Object
631 632 633 |
# File 'lib/bayonetta/mot.rb', line 631 def __size 12 end |
#value ⇒ Object
626 627 628 629 |
# File 'lib/bayonetta/mot.rb', line 626 def value raise "Only animation track 1 have a value" unless @interpolation_type == 0 [@offset].pack("L").unpack("F").first end |