Microsoft DirectX 9.0 SDK Update (October 2004)

ProgressiveMesh.TrimByFaces 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 TrimByFaces( _
    ByVal newFacesMin As Integer, _
    ByVal newFacesMax As Integer _
)
C# public void TrimByFaces(
    int newFacesMin,
    int newFacesMax
);
Managed C++ public: void TrimByFaces(
    int newFacesMin,
    int newFacesMax
);
JScript .NET public function TrimByFaces(
    newFacesMin : int,
    newFacesMax : int
);

Parameters

newFacesMin System.Int32. New minimum number of faces. This value must fall between the current minimum and maximum number of faces.
newFacesMax System.Int32. New maximum number of faces. This value must fall between the current minimum and maximum number of faces.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site 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