SetVehiclesLODDistance: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client function}}{{Needs Example}}__NOTOC__ {{New feature/item|3.0154|1.5.3|11199| Sets the distance of vehicles LOD. }} ==Syntax== <syntaxhighlight lang="lua"> bool setVeh...") |
(→See Also: +engineGet/SetModelLODDistance) |
||
Line 14: | Line 14: | ||
==See Also== | ==See Also== | ||
* [[engineGetModelLODDistance]] | |||
* [[engineSetModelLODDistance]] | |||
{{World functions}} | {{World functions}} |
Revision as of 14:54, 17 May 2017
Script Example Missing Function SetVehiclesLODDistance needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
Sets the distance of vehicles LOD.
Syntax
bool setVehiclesLODDistance ( float vehiclesDistance, float trainsAndPlanesDistance = vehiclesDistance * 2.14 )
Required Arguments
- vehiclesDistance: general distance used for most vehicles, this value is clamped to 0 – 500
Optional Arguments
- trainsAndPlanesDistance: distance used for trains and planes, this value is clamped to 0 – 500
See Also
- areTrafficLightsLocked
- getAircraftMaxHeight
- getAircraftMaxVelocity
- getCloudsEnabled
- getFarClipDistance
- getFogDistance
- getGameSpeed
- getGravity
- getHeatHaze
- getInteriorSoundsEnabled
- getJetpackMaxHeight
- getMinuteDuration
- getMoonSize
- getOcclusionsEnabled
- getRainLevel
- getSunColor
- getSunSize
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getSkyGradient
- getPlayerBlurLevel
- getZoneName
- isGarageOpen
- removeWorldModel
- resetFarClipDistance
- resetFogDistance
- resetHeatHaze
- resetMoonSize
- resetRainLevel
- resetSkyGradient
- resetSunColor
- resetSunSize
- resetWindVelocity
- restoreAllWorldModels
- restoreWorldModel
- setAircraftMaxHeight
- setAircraftMaxVelocity
- setCloudsEnabled
- setFarClipDistance
- setFogDistance
- setGameSpeed
- setGarageOpen
- setGravity
- setHeatHaze
- setInteriorSoundsEnabled
- setMinuteDuration
- setMoonSize
- setOcclusionsEnabled
- setRainLevel
- setSkyGradient
- setSunColor
- setSunSize
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity
- setJetpackMaxHeight
- setPlayerBlurLevel