Description
Get the size of texture image which has specified name.
Syntax
Sub RFModel.GetTextureSize(textureName As String, piWidth As Long, piHeight As Long, piOriginalWidth As Long, piOriginalHeight As Long) As RFErrorCode
The GetTextureSize syntax has these parts:
| Part | Description |
|---|---|
| textureName | [IN] String Required. Name of texture. |
| piWidth | [OUT] Long Required. Width of texture image. |
| piHeight | [OUT] Long Required. Height of texture image. |
| piOriginalWidth | [OUT] Long Required. Width of original image. |
| piOriginalHeight | [OUT] Long Required. Height of original image. |