◆ ToMaterialArray()

static Material [] ToMaterialArray ( MaterialConfig[]  materialsBlock)
static
Parameters
materialsBlockmaterialProperty block from which all the materials should be extracted
Returns
an array of all the materials found in the provided MaterialBlock array

References MaterialConfig.material.

Referenced by MeshAndMaterialConfigSet.ToMaterialArray().

+ Here is the caller graph for this function: