This is getMaterialId, a member of class OdDgTerrainOptionsTriangles.
OdDgTerrainOptionsTriangles Methods