This document is archived and information here might be outdated. Recommended version. |
Get Material texture pixel color.
[Visual Basic .NET]
Public Function get_MaterialTexturePixelColor ( _
ByVal Index As Integer, _
ByVal row As Integer, _
ByVal column As Integer _
) As Integer
[C#]
public int get_MaterialTexturePixelColor (
int Index,
int row,
int column
);
[C++]
HRESULT get_MaterialTexturePixelColor(
long Index,
long row,
long column,
OLE_COLOR* pColor
);
[C++] Parameters Index [in]
Index is a parameter of type long row [in]
row is a parameter of type long column [in]
column is a parameter of type long pColor [out, retval]
pColor is a parameter of type OLE_COLOR*
Returns the color (as an integer) of the pixel located at the specified row and column of the texture associated with the Geometry Material located at the specified index.