SetFarClipDistance: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the distance was set correctly, ''false'' if invalid arguments were passed. | Returns ''true'' if the distance was set correctly, ''false'' if invalid arguments were passed. | ||
==Example== | |||
<syntaxhighlight lang="lua"> | |||
-- Add example | |||
</syntaxhighlight> | |||
[[Category:Needs_Example]] | [[Category:Needs_Example]] |
Revision as of 12:35, 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