3D Mesh.
Inheritance: I3DGeometry
Ejemplo n.º 1
0
 /// <summary>
 /// Clones this mesh.
 /// </summary>
 /// <returns>A Mesh instance with the same data as this one.</returns>
 public Mesh Clone()
 {
     var result = new Mesh()
     {
         BlendData = BlendData,
         BoneBindings = BoneBindings,
         NumPrimitives = NumPrimitives,
         IndexBuffer = IndexBuffer,
         VertexBuffer = VertexBuffer,
         BlendVerts = BlendVerts,
         BlendVertBoneIndices = (int[])BlendVertBoneIndices.Clone()
     };
     return result;
 }