BEPUphysics.CollisionShapes.InstancedMeshShape.InstancedMeshShape C# (CSharp) Method

InstancedMeshShape() public method

Constructs a new instanced mesh shape.
public InstancedMeshShape ( Microsoft.Xna.Framework.Vector3 vertices, int indices ) : BEPUphysics.DataStructures
vertices Microsoft.Xna.Framework.Vector3 Vertices of the mesh.
indices int Indices of the mesh.
return BEPUphysics.DataStructures
        public InstancedMeshShape(Vector3[] vertices, int[] indices)
        {
            TriangleMesh = new TriangleMesh(new StaticMeshData(vertices, indices));
        }