ProgressiveMesh.TrimByVertices(Int32,Int32,Int32,Int32) Method (Microsoft.DirectX.Direct3D)
Modifies the minimum and maximum level of detail (LOD) of a ProgressiveMesh object.
Definition
Visual Basic Public Sub TrimByVertices( _
ByVal newVerticesMin As Integer, _
ByVal newVerticesMax As Integer, _
ByRef faceRemap As Integer, _
ByRef vertRemap As Integer _
)C# public void TrimByVertices(
int newVerticesMin,
int newVerticesMax,
out int faceRemap,
out int vertRemap
);C++ public:
void TrimByVertices(
int newVerticesMin,
int newVerticesMax,
[Out] int% faceRemap,
[Out] int% vertRemap
);JScript public function TrimByVertices(
newVerticesMin : int,
newVerticesMax : int,
faceRemap : int,
vertRemap : int
);
Parameters
newVerticesMin System.Int32
New minimum number of vertices. This value must fall between the current minimum and maximum number of vertices.newVerticesMax System.Int32
New maximum number of vertices. This value must fall between the current minimum and maximum number of vertices.faceRemap System.Int32[]
Array of one Int32 value per face that contains face remap information.vertRemap System.Int32[]
Array of one Int32 value per vertex that contains vertex remap information.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
Microsoft Direct3D could not allocate sufficient memory to complete the call.
See Also