Class: Bayonetta::WMBFile::Material

Inherits:
LibBin::Structure
  • Object
show all
Defined in:
lib/bayonetta/wmb.rb

Instance Method Summary collapse

Instance Method Details

#__size(position = 0, parent = nil, index = nil) ⇒ Object

[View source]

772
773
774
# File 'lib/bayonetta/wmb.rb', line 772

def __size(position = 0, parent = nil, index = nil)
  return 2 + 2 + @material_data.length * 4
end