SetFarClipDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server client function}} ==Syntax== <syntaxhighlight lang="lua"> bool setFarClipDistance ( float distance ) </syntaxhighlight>")
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
This function is used to set the distance of render.
'''NOTE: Setting this less than 5 may cause problems to the client'''


==Syntax==
==Syntax==
Line 6: Line 9:
bool setFarClipDistance ( float distance )
bool setFarClipDistance ( float distance )
</syntaxhighlight>
</syntaxhighlight>
===Required Arguments===
*'''distance:''' A float specifying the distance of render.
===Returns===
Returns ''true'' if the distance was set correctly, ''false'' if invalid arguments were passed.
[[Category:Needs_Example]]

Revision as of 12:33, 29 December 2011

This function is used to set the distance of render.

NOTE: Setting this less than 5 may cause problems to the client

Syntax

bool setFarClipDistance ( float distance )

Required Arguments

  • distance: A float specifying the distance of render.

Returns

Returns true if the distance was set correctly, false if invalid arguments were passed.