new UITexture(myTexture, position, size) → {UITexture}
Texture for UI
Parameters:
Name | Type | Description |
---|---|---|
myTexture |
texture | Texture for the UITexture |
position |
Array.<Array> | Base position for the UITexture |
size |
Array.<Array> | The size for the UITexture |
- Source:
Returns:
- Type
- UITexture
Methods
setTexture(tex)
Sets the Texture of the UITexture
Parameters:
Name | Type | Description |
---|---|---|
tex |
String | The location of the desired Texture to be used |
- Source: