https://wiki.multitheftauto.com/wiki/DxApplyMask?feed=atom&action=historyDxApplyMask - Revision history2024-03-28T20:42:37ZRevision history for this page on the wikiMediaWiki 1.39.3https://wiki.multitheftauto.com/index.php?title=DxApplyMask&diff=65525&oldid=prevLopSided: Created page with "{{Client function}} __NOTOC__ This function applies a mask texture to a specified DxElement. ==Syntax== <syntaxhighlight lang="lua"> bool dxApplyMask ( DxElement dxElement,..."2020-03-23T15:47:37Z<p>Created page with "{{Client function}} __NOTOC__ This function applies a mask texture to a specified DxElement. ==Syntax== <syntaxhighlight lang="lua"> bool dxApplyMask ( DxElement dxElement,..."</p>
<p><b>New page</b></p><div>{{Client function}}<br />
__NOTOC__<br />
This function applies a mask texture to a specified DxElement.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool dxApplyMask ( DxElement dxElement, mixed image)<br />
</syntaxhighlight><br />
{{OOP||DxElement:applyMask}}<br />
<br />
===Required Arguments=== <br />
*'''dxElement:''' element you wish to bind a render function to<br />
*'''image:''' the image/texture mask you would like to apply. This can be a filepath (string) or texture created with [[dxCreateTexture]].<br />
<br />
===Returns===<br />
Returns true if the function was bound successfully, false otherwise.<br />
<br />
==See Also==<br />
{{TDX_general_functions}}</div>LopSided