getTextureInfo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma 3 |version1= 2.06 |gr1= System |branch= dev |descr= Currently, returns width and height of the given texture. |s1= getTextureInfo textu...") |
Lou Montana (talk | contribs) m (Fix) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.06 | |version1= 2.06 | ||
Revision as of 00:44, 13 June 2021
Description
- Description:
- Currently, returns width and height of the given texture.
- Groups:
- System
Syntax
- Syntax:
- getTextureInfo texture
- Parameters:
- texture: String - path to texture (.paa or .jpg)
- Return Value:
- Array - in format [width, height]
Examples
- Example 1:
getTextureInfo "a3\characters_f\blufor\data\clothing1_co.paa"; // [2048,2048]
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note