<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Camera%3A%3AgetDofParam</id>
	<title>Camera::getDofParam - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Camera%3A%3AgetDofParam"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Camera::getDofParam&amp;action=history"/>
	<updated>2026-06-04T20:11:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Camera::getDofParam&amp;diff=27415&amp;oldid=prev</id>
		<title>Shr0x: Created page with &quot;{{ClientsideJsFunction}} {{JSContainer|  === Summary === Retrieves the current value of a specific Depth of Field (DOF) parameter for the active camera.  === Syntax === &lt;syntaxhighlight lang=&quot;javascript&quot;&gt; camera.getDofParam(paramHash); &lt;/syntaxhighlight&gt;  === Required Parameters === * &#039;&#039;&#039;paramHash:&#039;&#039;&#039; {{RageType|number}} - The hash of the DOF parameter to retrieve.  === Return Value === * &#039;&#039;&#039;{{RageType|bool|number|Array}}&#039;&#039;&#039; - The value of the specified DOF parameter. Th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Camera::getDofParam&amp;diff=27415&amp;oldid=prev"/>
		<updated>2024-12-25T18:07:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ClientsideJsFunction}} {{JSContainer|  === Summary === Retrieves the current value of a specific Depth of Field (DOF) parameter for the active camera.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt; camera.getDofParam(paramHash); &amp;lt;/syntaxhighlight&amp;gt;  === Required Parameters === * &amp;#039;&amp;#039;&amp;#039;paramHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} - The hash of the DOF parameter to retrieve.  === Return Value === * &amp;#039;&amp;#039;&amp;#039;{{RageType|bool|number|Array}}&amp;#039;&amp;#039;&amp;#039; - The value of the specified DOF parameter. Th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideJsFunction}}&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
=== Summary ===&lt;br /&gt;
Retrieves the current value of a specific Depth of Field (DOF) parameter for the active camera.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
camera.getDofParam(paramHash);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;paramHash:&amp;#039;&amp;#039;&amp;#039; {{RageType|number}} - The hash of the DOF parameter to retrieve.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{RageType|bool|number|Array}}&amp;#039;&amp;#039;&amp;#039; - The value of the specified DOF parameter. The type can vary based on the parameter.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Retrieve the value of a DOF parameter&lt;br /&gt;
const dofParamHash = mp.game.joaat(&amp;quot;dof_blur_amount&amp;quot;);&lt;br /&gt;
const value = camera.getDofParam(dofParamHash);&lt;br /&gt;
&lt;br /&gt;
mp.gui.chat.push(`DOF parameter value: ${value}`);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{Camera_definition_c}}&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
</feed>