Updates mesh to use a optional material array.
Updates mesh to use a optional material array.

The material property on Mesh should be a material or an array of materials.
AgentME/DefinitelyTyped,AgentME/DefinitelyTyped,dsebastien/DefinitelyTyped,mcliment/DefinitelyTyped,borisyankov/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,magny/DefinitelyTyped,rolandzwaga/DefinitelyTyped,AgentME/DefinitelyTyped,one-pieces/DefinitelyTyped,magny/DefinitelyTyped,AgentME/DefinitelyTyped,rolandzwaga/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,borisyankov/DefinitelyTyped