Class: Bayonetta::EXPFile::Entry3
- Inherits:
-
LibBin::Structure
- Object
- LibBin::Structure
- Bayonetta::EXPFile::Entry3
- Defined in:
- lib/bayonetta/exp.rb
Instance Method Summary collapse
- #get_value(pose, table) ⇒ Object
-
#initialize ⇒ Entry3
constructor
A new instance of Entry3.
Constructor Details
#initialize ⇒ Entry3
Returns a new instance of Entry3.
407 408 409 410 411 412 413 |
# File 'lib/bayonetta/exp.rb', line 407 def initialize @flags = 0x80000001 @bone_index = 0 @animation_track = 0 @padding = 0 @operations = [Operation::new, Operation::new] end |
Instance Method Details
#get_value(pose, table) ⇒ Object
415 416 417 418 |
# File 'lib/bayonetta/exp.rb', line 415 def get_value(pose, table) v = @operations[0].transform_value( pose[table[@bone_index]][@animation_track] ) v = @operations[1].transform_value( v ) end |