<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsCircleGetTextureRotation?action=history&amp;feed=atom</id>
	<title>DgsCircleGetTextureRotation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsCircleGetTextureRotation?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCircleGetTextureRotation&amp;action=history"/>
	<updated>2026-04-05T15:05:31Z</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=DgsCircleGetTextureRotation&amp;diff=77571&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}}  This function gets the texture rotation from the dgs circle.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; float, float, float dgsCircleGetTextureRotation( element circle ) &lt;/syntaxhighlight&gt;   ===Required Arguments=== *'''circle''': A dgs-dxcircle plugin.  ===Returns=== Returns 3 ''floats'' indicates '''rotation degree''', '''rotation center x''' and '''rotation center y''' if successful, ''false'' otherwise.  ==Example==  &lt;syntaxhighlight la...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsCircleGetTextureRotation&amp;diff=77571&amp;oldid=prev"/>
		<updated>2023-09-03T02:56:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}}  This function gets the texture rotation from the dgs circle.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; float, float, float dgsCircleGetTextureRotation( element circle ) &amp;lt;/syntaxhighlight&amp;gt;   ===Required Arguments=== *&amp;#039;&amp;#039;&amp;#039;circle&amp;#039;&amp;#039;&amp;#039;: A dgs-dxcircle plugin.  ===Returns=== Returns 3 &amp;#039;&amp;#039;floats&amp;#039;&amp;#039; indicates &amp;#039;&amp;#039;&amp;#039;rotation degree&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;rotation center x&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;rotation center y&amp;#039;&amp;#039;&amp;#039; if successful, &amp;#039;&amp;#039;false&amp;#039;&amp;#039; otherwise.  ==Example==  &amp;lt;syntaxhighlight la...&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;
&lt;br /&gt;
This function gets the texture rotation from the dgs circle.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
float, float, float dgsCircleGetTextureRotation( element circle )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''circle''': A dgs-dxcircle plugin.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns 3 ''floats'' indicates '''rotation degree''', '''rotation center x''' and '''rotation center y''' 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 --get exported functions from dgs&lt;br /&gt;
&lt;br /&gt;
local c = DGS:dgsCreateCircle(0.5,0.3)&lt;br /&gt;
local img = DGS:dgsCreateImage(300,200,200,200,c,false)&lt;br /&gt;
local rot,rotX,rotY = DGS:dgsCircleGetTextureRotation(c)&lt;br /&gt;
outputChatBox(rot)&lt;br /&gt;
outputChatBox(rotX)&lt;br /&gt;
outputChatBox(rotY)&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>