This method returns the fill type used for the specified face segment.
HRESULT GetSideFillType(
[in] int SegmentNum,
[out, retval] FaceFillTypeCode* pFillType)
Parameters:
SegmentNum – The number of the segment. The number of segments is a value between 0, for the first wall, and ITerrainBuilding5::NumOfVertices –1, for the last wall.
pFillType – An enum that indicates the fill type for the specified side of the building. The following are its enumerations:
FACE_COLOR = 0
FACE_TEXTURE = 1
FACE_TERRAIN_TEXTURE = 2
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |