Перейти к содержанию

Graphics::getTextureResolution

Материал из RAGE MP Wiki Archive

Returns the texture resolution of the passed texture dict+name.

Note: Most texture resolutions are doubled compared to the console version of the game.

Syntax

<syntaxhighlight lang="javascript">mp.game.graphics.getTextureResolution(textureDict, textureName);</syntaxhighlight>

Required Arguments

  • textureDict: String
  • textureName: String

Return value

  • Vector3

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also