This method sets the fill type used for the specified face segment.
HRESULT SetSideFillType(
[in] int SegmentNum,
[in] FaceFillTypeCode FillType,
[in, defaultvalue(0)] long DontDraw)
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.
FillType – An enum that determines 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
DontDraw – When set to TRUE, the building is not redrawn after the method is called. When set to FALSE redraws every time the method is called.
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. |