ProgressiveMesh.TrimByVertices Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Modifies the minimum and maximum level of detail (LOD) of a ProgressiveMesh object.
Definition
Visual Basic .NET |
Public Sub TrimByVertices( _ ByVal newVerticesMin As Integer, _ ByVal newVerticesMax As Integer _ ) |
C# |
public void TrimByVertices( int newVerticesMin, int newVerticesMax ); |
Managed C++ |
public: void TrimByVertices( int newVerticesMin, int newVerticesMax ); |
JScript .NET |
public function TrimByVertices( newVerticesMin : int, newVerticesMax : 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. |
Remarks
Exceptions
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
OutOfMemoryException  |
Microsoft® Direct3D® could not allocate sufficient memory to complete the call. |
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center