diff --git a/docs/api/materials/MultiMaterial.html b/docs/api/materials/MultiMaterial.html index ca64190defb6099736380d9ef55dbbcb43ab443f..4940769858886b916deb923c95a1c9042810b300 100644 --- a/docs/api/materials/MultiMaterial.html +++ b/docs/api/materials/MultiMaterial.html @@ -13,7 +13,7 @@
A Material to define multiple materials for the same geometry. The geometry decides which material is used for which faces by the [page:Face3 faces materialindex]. - The materialindex corresponds with the index of the material in the materials array. + The material index corresponds with the index of the material in the [page:.materials] array.
@@ -22,26 +22,43 @@

[name]( [page:Array materials] )

- materials -- The materials for the geometry. -
-
- Creates a MultiMaterial with the correct materials. + [page:Array materials] -- an array of [page:Material Materials] to be used in the MultiMaterial.

+ + Creates a new [name].

Properties

+

[property:Boolean isMultiMaterial]

+
+ Used to check whether this or derived classes are multi materials. Default is *true*.

+ You should not change this, as it used internally for optimisation. +

[property:Array materials]

+
An array containing the materials being used by the MultiMaterial.
+ +

[property:String uuid]

- Get or set the materials for the geometry. + [link:http://en.wikipedia.org/wiki/Universally_unique_identifier UUID] of this material instance. + This gets automatically assigned, so this shouldn't be edited.
-

Methods

+

[property:Array visible]

+
Whether or not [page:Mesh meshes] using this material should be rendered.
+

Methods

+

[method:MultiMaterial clone]()

+
Return a clone of this MultiMaterial.
+

[method:null toJSON]( [page:object meta] )

+
+ meta -- object containing metadata such as textures or images for the material.
+ Convert the material to Three JSON format. +

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]