<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/Dgs3DInterfaceGetFaceTo?action=history&amp;feed=atom</id>
	<title>Dgs3DInterfaceGetFaceTo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/Dgs3DInterfaceGetFaceTo?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DInterfaceGetFaceTo&amp;action=history"/>
	<updated>2026-05-12T02:21:54Z</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=Dgs3DInterfaceGetFaceTo&amp;diff=64595&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function gets the position that the DGS 3D interface faces to.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; float, float, float, string dgs3DI...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Dgs3DInterfaceGetFaceTo&amp;diff=64595&amp;oldid=prev"/>
		<updated>2019-11-03T13:02:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function gets the position that the DGS 3D interface faces to.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; float, float, float, string dgs3DI...&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 gets the position that the DGS 3D interface faces to.&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, string dgs3DInterfaceGetFaceTo ( element dgsElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' The DGS 3D interface of which you wish to get the facing position from.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns 3 ''float'' and 1 ''string'', indicates the x,y,z that DGS 3D interface faces to and the relativity option.&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;
function panelPosition()&lt;br /&gt;
	dgs3dPanel = DGS:dgsCreate3DInterface(0,0,3,2,2,400,400,tocolor(255,255,255,255),0,1,0)&lt;br /&gt;
	DGS:dgsCreateImage(0,0,1,1,_,true,dgs3dPanel) -- Background&lt;br /&gt;
	local x,y,z,rlt = DGS:dgs3DInterfaceGetFaceTo(dgs3dPanel)&lt;br /&gt;
	outputChatBox(&amp;quot;X:&amp;quot;..x..&amp;quot;;Y:&amp;quot;..y..&amp;quot;;Z:&amp;quot;..z..&amp;quot;;Relative To:&amp;quot;..rlt)&lt;br /&gt;
end&lt;br /&gt;
&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>