Method: Mittsu::MeshFaceMaterial#initialize

Defined in:
lib/mittsu/materials/mesh_face_material.rb

#initialize(materials = []) ⇒ MeshFaceMaterial

Returns a new instance of MeshFaceMaterial.



7
8
9
10
11
# File 'lib/mittsu/materials/mesh_face_material.rb', line 7

def initialize(materials = [])
  @uuid = SecureRandom.uuid
  @type = 'MeshFaceMaterial'
  @materials = materials
end