<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/HU/dxGetMaterialSize?action=history&amp;feed=atom</id>
	<title>HU/dxGetMaterialSize - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/HU/dxGetMaterialSize?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HU/dxGetMaterialSize&amp;action=history"/>
	<updated>2026-06-17T11:57:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=HU/dxGetMaterialSize&amp;diff=60953&amp;oldid=prev</id>
		<title>Surge: Created page with &quot;{{Client function hu}} __NOTOC__ Ez visszadja a kínált material elemek méretét.  ==Szintaxis==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; int, int [, int] dxGetMaterialSize ( eleme...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=HU/dxGetMaterialSize&amp;diff=60953&amp;oldid=prev"/>
		<updated>2018-11-27T12:02:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function hu}} __NOTOC__ Ez visszadja a kínált &lt;a href=&quot;/wiki/Material&quot; class=&quot;mw-redirect&quot; title=&quot;Material&quot;&gt;material&lt;/a&gt; elemek méretét.  ==Szintaxis==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; int, int [, int] dxGetMaterialSize ( eleme...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client function hu}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
Ez visszadja a kínált [[material]] elemek méretét.&lt;br /&gt;
&lt;br /&gt;
==Szintaxis== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int, int [, int] dxGetMaterialSize ( element material )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
{{OOP||[[material]]:getSize}}&lt;br /&gt;
===Kötelező paraméterek=== &lt;br /&gt;
*'''material :''' The material element whose size is to be gotten&lt;br /&gt;
&lt;br /&gt;
===Visszatérési érték===&lt;br /&gt;
Returns two ''ints'' representing the width and height in pixels of the material, or false if an invalid parameter was passed to the function. &lt;br /&gt;
If the material is a volume texture, this function will return three ''ints'' representing the width, height and depth.&lt;br /&gt;
&lt;br /&gt;
==Példa== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
myTexture = dxCreateTexture( &amp;quot;man.png&amp;quot; )&lt;br /&gt;
local width, height = dxGetMaterialSize( myTexture )&lt;br /&gt;
outputChatBox( &amp;quot;man.png is &amp;quot; .. tostring(width) .. &amp;quot; pixels wide and &amp;quot; .. tostring(height) .. &amp;quot; pixels high&amp;quot; )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Changelog==&lt;br /&gt;
{{ChangelogHeader}}&lt;br /&gt;
{{ChangelogItem|1.3.0-9.04021|Added third return value for volume textures}}&lt;br /&gt;
&lt;br /&gt;
==Lásd még==&lt;br /&gt;
{{Drawing_functions hu}}&lt;br /&gt;
&lt;br /&gt;
[[en:dxGetMaterialSize]]&lt;br /&gt;
&lt;br /&gt;
==Fordította==&lt;br /&gt;
 '''2018.11.27.''' &amp;lt;font size=&amp;quot;3&amp;quot;&amp;gt;'''[https://wiki.multitheftauto.com/wiki/User:Surge Surge]'''&amp;lt;/font&amp;gt;&lt;/div&gt;</summary>
		<author><name>Surge</name></author>
	</entry>
</feed>