SetFarClipDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
-- Add example
-- Add example
</syntaxhighlight>
</syntaxhighlight>
==See Also==
{{World functions}}


[[Category:Needs_Example]]
[[Category:Needs_Example]]

Revision as of 12:36, 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.

Example

-- Add example

See Also

Shared