<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Camera%3A%3AsetFarClip</id>
	<title>Camera::setFarClip - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=Camera%3A%3AsetFarClip"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Camera::setFarClip&amp;action=history"/>
	<updated>2026-07-24T17:39:30Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=Camera::setFarClip&amp;diff=643&amp;oldid=prev</id>
		<title>imported&gt;Shr0x в 11:39, 2 ноября 2024</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=Camera::setFarClip&amp;diff=643&amp;oldid=prev"/>
		<updated>2024-11-02T11:39:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{JSContainer|&lt;br /&gt;
&lt;br /&gt;
This function sets the far clip distance for a camera in the game. The far clip distance determines how far the camera can render objects; increasing this value allows the camera to display objects at greater distances. This is especially useful for enhancing visibility in larger scenes.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;camera.setFarClip(farClip);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;farClip:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Create a camera at a specific position and rotation&lt;br /&gt;
let camera = mp.cameras.new(&amp;quot;default&amp;quot;, new mp.Vector3(0, 0, 0), new mp.Vector3(0, 0, 0), 70);&lt;br /&gt;
&lt;br /&gt;
// Set the far clip distance for the camera&lt;br /&gt;
const farClipDistance = 1000.0; // Example distance in units&lt;br /&gt;
camera.setFarClip(farClipDistance);&lt;br /&gt;
&lt;br /&gt;
// Render the camera&lt;br /&gt;
camera.setActive(true);&lt;br /&gt;
mp.game.cam.renderScriptCams(true, false, 0, true, false);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Camera_definition_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Shr0x</name></author>
	</entry>
</feed>