Class: Bayonetta::WMBFile::BatchHeader

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

Instance Method Summary collapse

Constructor Details

#initializeBatchHeader

Returns a new instance of BatchHeader.



820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
# File 'lib/bayonetta/wmb.rb', line 820

def initialize
  @batch_id = 0
  @mesh_id = 0
  @flags = 0x8001
  @ex_mat_id = 0
  @material_id = 0
  @has_bone_refs = 1
  @u_e1 = 0
  @u_e2 = 0
  @vertex_start = 0
  @vertex_end = 0
  @primitive_type = 4
  @offset_indices = 0x100
  @num_indices = 0
  @vertex_offset = 0
  @u_f = [0]*7
end