<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/Dgs3DImageSetSize?action=history&amp;feed=atom</id>
	<title>Dgs3DImageSetSize - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/Dgs3DImageSetSize?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DImageSetSize&amp;action=history"/>
	<updated>2026-04-05T18:08:42Z</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=Dgs3DImageSetSize&amp;diff=70840&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function sets the size of the image of the 3d image '''when distance between camera and 3d image is 50 units'''.  ==Syntax==  &lt;syntaxhighli...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DImageSetSize&amp;diff=70840&amp;oldid=prev"/>
		<updated>2021-04-19T06:48:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function sets the size of the image of the 3d image &amp;#039;&amp;#039;&amp;#039;when distance between camera and 3d image is 50 units&amp;#039;&amp;#039;&amp;#039;.  ==Syntax==  &amp;lt;syntaxhighli...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function sets the size of the image of the 3d image '''when distance between camera and 3d image is 50 units'''.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dgs3DImageSetSize( element image3D, float width, float height )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''image3D''': The DGS 3D Image element.&lt;br /&gt;
*'''width''': A float of the width of the 3d image.&lt;br /&gt;
*'''height''': A float of the height of the 3d image.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
&lt;br /&gt;
local texture = dxCreateTexture(&amp;quot;test.png&amp;quot;) -- Example File&lt;br /&gt;
local image = DGS:dgsCreate3DImage(0,0,4,texture,tocolor(255,255,255,255),10,10)&lt;br /&gt;
DGS:dgs3DImageSetSize(image,50,50)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>