IObjectTexture80
This interface gets and sets texture related settings.
|
Properties |
|
|
Gets and sets a full path name or a URL to the texture file that the object should use. |
|
|
Gets and sets the angular rotation of the image used for the texture. |
|
|
Gets and sets the scaling for the texture according to the setting for TilingMethod. |
|
|
Gets and sets the scaling for the texture according to the setting for TilingMethod. |
|
|
Gets and sets the tiling method used for the texture. |
|
|
Gets and sets the number of times per second, texture scrolls completely on its x axis. |
|
|
Gets and sets the number of times per second, texture scrolls completely on its y axis. |
FileName
Gets and sets a full path name or a URL to the texture file that this object should use.
JavaScript |
|
FileName |
C# |
|
string FileName { get; set; } |
C++ |
|
HRESULT FileName([out, retval] BSTR* pVal) HRESULT FileName([in] BSTR pVal) |
RotateAngle
Gets and sets the angular rotation of the image used for the texture.
JavaScript |
|
RotateAngle |
C# |
|
double RotateAngle { get; set; } |
C++ |
|
HRESULT RotateAngle([out, retval] double* pVal) HRESULT RotateAngle([in] double pVal) |
ScaleX
Gets and sets the scaling for the texture. This property’s definition depends on the TilingMethod used for the texture:
§ TM_TILES_PER_SIDE = 0 – Determines the number of repeats, for each side, of the image file in the X-axis.
§ TM_METERS_PER_TILE = 1 – Determines the size of the side texture in the X-axis.
JavaScript |
|
ScaleX |
C# |
|
double ScaleX { get; set; } |
C++ |
|
HRESULT ScaleX([out, retval] double* pVal) HRESULT ScaleX([in] double pVal) |
ScaleY
Gets and sets the scaling for the texture. This property’s definition depends on the TilingMethod used for the texture:
§ TM_TILES_PER_SIDE = 0 – Determines the number of repeats, for each side, of the image file in the Y-axis.
§ TM_METERS_PER_TILE = 1 – Determines the size of the side texture in the Y-axis.
JavaScript |
|
ScaleY |
C# |
|
double ScaleY { get; set; } |
C++ |
|
HRESULT ScaleY([out, retval] double* pVal) HRESULT ScaleY([in] double pVal) |
TilingMethod
Gets and sets an enum determining the tiling method used for the texture. This value applies only when a texture file is set. The TilingMethod enum can use any of the following values:
§ TM_UNDEFINED = -1
§ TM_TILES_PER_SIDE = 0
§ TM_TILES_PER_AXIS = 0
§ TM_METERS_PER_TILE = 1
JavaScript |
|
TilingMethod |
C# |
|
TilingMethodCode TilingMethod { get; set; } |
C++ |
|
HRESULT TilingMethod([out, retval] TilingMethodCode* pVal) HRESULT TilingMethod([in] TilingMethodCode pVal) |
XScrollRate
Gets and sets the number of times per second, texture scrolls completely on its x axis. Negative values scroll the texture in the reverse direction.
JavaScript |
|
XScrollRate |
C# |
|
double XScrollRate { get; set; } |
C++ |
|
HRESULT XScrollRate ([out, retval] double* pVal) HRESULT XScrollRate ([in] double pVal) |
YScrollRate
Gets and sets the number of times per second, texture scrolls completely on its y axis Negative values scroll the texture in the reverse direction.
JavaScript |
|
YScrollRate |
C# |
|
double YScrollRate { get; set; } |
C++ |
|
HRESULT YScrollRate ([out, retval] double* pVal) HRESULT YScrollRate ([in] double pVal) |