|   |   |   | 
| PrtEngine.GetAdaptedMesh Method | Language: | 
Returns a mesh with modifications resulting from adaptive spatial sampling. The returned mesh contains only positions, normals, and texture coordinates (if defined).
Visual Basic Public Function GetAdaptedMesh( _ 
ByVal device As Device, _
ByVal faceRemap() As Integer _
) As MeshC# public Mesh GetAdaptedMesh( 
Device device,
int[] faceRemap
);C++ public: 
Mesh^ GetAdaptedMesh(
Device^ device,
array<int>^ faceRemap
);JScript public function GetAdaptedMesh( 
device : Device,
faceRemap : int[]
) : Mesh;
device Microsoft.DirectX.Direct3D.Device 
The Device used to create the output mesh.faceRemap System.Int32[] 
The original mesh face that was split to generate the current face.
Microsoft.DirectX.Direct3D.Mesh
The output Mesh object.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. 
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