|   |   |   | 
| TextureGutterHelper.GetBaryMap Method | Language: | 
Retrieves texel barycentric coordinates.
Visual Basic Public Sub GetBaryMap( _ 
ByVal baryData() As Vector2 _
)C# public void GetBaryMap( 
Vector2[] baryData
);C++ public: 
void GetBaryMap(
array<Vector2>^ baryData
);JScript public function GetBaryMap( 
baryData : Vector2[]
);
baryData Microsoft.DirectX.Vector2[] 
An array of Vector2 objects that contain the first two barycentric coordinates of each texel.
The third barycentric coordinate is given by:
1 - (baryData.x + baryData.y)Barycentric coordinates are always specified with respect to the triangle returned by TextureGutterHelper.GetFaceMap.
The barycentric coordinates returned by this method are valid only for valid (non-class 0) texels. TextureGutterHelper.GetGutterMap will return nonzero values for valid texels.
Class 2 texels are mapped to the nearest point on the triangle in texel space.
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