Class: BayoMat

Inherits:
Object
  • Object
show all
Defined in:
lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, size, tex_num, lightmap_index, normalmap_index, second_diffuse_index, reflection_index) ⇒ BayoMat

Returns a new instance of BayoMat.



312
313
314
315
316
317
318
319
320
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 312

def initialize(code, size, tex_num, lightmap_index, normalmap_index, second_diffuse_index, reflection_index)
  @code = code
  @size = size
  @tex_num = tex_num
  @lightmap_index = lightmap_index
  @normalmap_index = normalmap_index
  @second_diffuse_index = second_diffuse_index
  @reflexion_index = reflection_index
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



305
306
307
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 305

def code
  @code
end

#lightmap_indexObject (readonly)

Returns the value of attribute lightmap_index.



308
309
310
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 308

def lightmap_index
  @lightmap_index
end

#normalmap_indexObject (readonly)

Returns the value of attribute normalmap_index.



309
310
311
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 309

def normalmap_index
  @normalmap_index
end

#reflection_indexObject (readonly)

Returns the value of attribute reflection_index.



311
312
313
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 311

def reflection_index
  @reflection_index
end

#second_diffuse_indexObject (readonly)

Returns the value of attribute second_diffuse_index.



310
311
312
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 310

def second_diffuse_index
  @second_diffuse_index
end

#sizeObject (readonly)

Returns the value of attribute size.



306
307
308
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 306

def size
  @size
end

#tex_numObject (readonly)

Returns the value of attribute tex_num.



307
308
309
# File 'lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb', line 307

def tex_num
  @tex_num
end