/// <summary> /// Add array of vertices to the combined mesh. /// Note: will not take effect until 'Build()' is called. /// </summary> /// <param name="vertices">Vertices array to add.</param> /// <param name="indexes">Draw order / indexes array.</param> /// <param name="material">Material to use with the vertices.</param> public void AddVertices(VertexType[] vertices, ushort[] indexes, MaterialAPI material) { _entity.AddVertices(vertices, indexes, material); }
/// <summary> /// Add array of vertices to the combined mesh. /// Note: will not take effect until 'Build()' is called. /// </summary> /// <param name="vertices">Vertices array to add.</param> /// <param name="indexes">Draw order / indexes array.</param> /// <param name="material">Material to use with the vertices.</param> public void AddVertices(VertexPositionNormalTexture[] vertices, ushort[] indexes, MaterialAPI material) { _entity.AddVertices(vertices, indexes, material); }