PrtEngine.RobustMeshRefine Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Subdivides faces on a mesh, allowing for conservative adaptive sampling that will not eliminate features on the mesh.
Definition
Visual Basic .NET |
Public Sub RobustMeshRefine( _ ByVal minEdgeLength As Single, _ ByVal maxSubDiv As Integer _ ) |
C# |
public void RobustMeshRefine( float minEdgeLength, int maxSubDiv ); |
Managed C++ |
public: void RobustMeshRefine( float minEdgeLength, int maxSubDiv ); |
JScript .NET |
public function RobustMeshRefine( minEdgeLength : float, maxSubDiv : int ); |
Parameters
minEdgeLength
|
System.Single. Minimum face edge length that will be generated in adaptive sampling. If zero, a reasonable default value will be substituted. |
maxSubDiv
|
System.Int32. Maximum level of subdivision of a face that will be used in adaptive sampling. If zero, a default value of 5 will be substituted. |
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