public static DrawMeshNow ( |
||
mesh | The Mesh to draw. | |
matrix | Transformation matrix of the mesh (combines position, rotation and other transformations). Note that the mesh will not be displayed correctly if matrix has negative scale. | |
return | void |
public static void DrawB(MeshHolder holder) { holder.meshB.vertices = holder.Vertices; holder.meshB.uv = holder.UVs; holder.meshB.colors32 = holder.Colors; UnityGraphics.DrawMeshNow(holder.meshB, Matrix4x4.identity); }