SetFarClipDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Note to template note_box)
Line 1: Line 1:
{{note box|Setting this less than 5 may cause problems to the client}}
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
This function is used to set the distance of render.
This function is used to set the distance of render.
'''NOTE: Setting this less than 5 may cause problems to the client'''


==Syntax==
==Syntax==

Revision as of 17:43, 29 December 2011

This template is no longer in use as it results in poor readability.

This function is used to set the distance of render.

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