public void DrawMesh (Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties);

Parámetros

meshMesh to draw.
matrixTransformation matrix to use.
materialMaterial to use.
submeshIndexWhich subset of the mesh to render.
shaderPassWhich pass of the shader to use (default is -1, which renders all passes).
propertiesAdditional Material properties to apply onto the Material just before this Mesh is drawn. See MaterialPropertyBlock.

Descripción

Add a "draw mesh" command.