ResetFarClipDistance

From Multi Theft Auto: Wiki
Revision as of 13:01, 3 August 2014 by Myonlake (talk | contribs) ("Added" resetFarClipDistance( ) function page)
Jump to navigation Jump to search

This function resets the far clip distance to its default state.

Syntax

bool resetFarClipDistance ( )

Returns

Returns true if operation was successful, false otherwise.

Example

This example will demonstrate basic functionality of the function.

setFarClipDistance( 1200 )
outputDebugString( "Render distance: " .. getFarClipDistance( ) )
resetFarClipDistance( )
outputDebugString( "New render distance: " .. tostring( getFarClipDistance( ) ) )

See Also