public override void Draw(Drawing drawing) { if (indicesIndex == 0) return; if (verticesUV != null) drawing.Add(Material, BlendMode, verticesUV, indices, verticesIndex, indicesIndex); else if (verticesColorUV != null) drawing.Add(Material, BlendMode, verticesColorUV, indices, verticesIndex, indicesIndex); else if (verticesColor != null) drawing.Add(Material, BlendMode, verticesColor, indices, verticesIndex, indicesIndex); }