PrtEngine.RobustMeshRefine Method
|
Language: |
Subdivides faces on a mesh, allowing for conservative adaptive sampling that will not eliminate features on the mesh.
Definition
Visual Basic |
Public Sub RobustMeshRefine( _ ByVal minEdgeLength As Single, _ ByVal maxSubDiv As Integer _ ) |
C# |
public void RobustMeshRefine( float minEdgeLength, int maxSubDiv ); |
C++ |
public: void RobustMeshRefine( float minEdgeLength, int maxSubDiv ); |
JScript |
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
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center