Class: Bayonetta::MOT2File::Record
- Inherits:
-
LibBin::Structure
- Object
- LibBin::Structure
- Bayonetta::MOT2File::Record
- Defined in:
- lib/bayonetta/mot.rb
Instance Method Summary collapse
Instance Method Details
#__size ⇒ Object
341 342 343 |
# File 'lib/bayonetta/mot.rb', line 341 def __size 12 end |
#value ⇒ Object
336 337 338 339 |
# File 'lib/bayonetta/mot.rb', line 336 def value raise "Only animation track 1 have a value" unless @interpolation_type == 0 [@offset].pack("L").unpack("F").first end |