SetSideTexture

This method sets the image file texture and its scaling parameters, used by the wall, this method also sets the FillType to FACE_TEXTURE (= 1).

 

HRESULT SetSideTexture(

 [in] int SegmentNum,

 [in] BSTR FileName,

 [in, defaultvalue(0)] TilingMethodCode Method,

 [in, defaultvalue(1)] double ScaleX,

 [in, defaultvalue(1)] double ScaleY,

 [in, defaultvalue(0)] long DontDraw);

Parameters:

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.