public GetFaceModelTriangleIndices ( bool bMirroredModel ) : int[] | ||
bMirroredModel | bool | If set to |
return | int[] |
public int[] GetFaceModelTriangleIndices(bool bMirroredModel)
{
if (sensorData != null && sensorData.sensorInterface != null)
{
int iNumTriangles = sensorData.sensorInterface.GetFaceModelTrianglesCount();
if (iNumTriangles > 0)
{
int[] avModelTriangles = new int[iNumTriangles];
bool bGotModelTriangles = sensorData.sensorInterface.GetFaceModelTriangles(bMirroredModel, ref avModelTriangles);
if (bGotModelTriangles)
{
return avModelTriangles;
}
}
}
return null;
}