GetCoronaReflectionsEnabled: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client function}} __NOTOC__ {{New feature/item|1.5.9|1.5.8|21251|Gets visibility of corona reflections.}} ==Syntax== <syntaxhighlight lang="lua"> int getCoronaReflectionsEnabled ( ) </syntaxhighlight> ===Returns=== One of the following integers will be returned: * '''0''': corona reflections are disabled * '''1''': corona reflections are enabled * '''2''': corona reflections are force enabled, even if there is no rain ==See Also== {{client world functions}}") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Client function}} | {{Client function}} | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Added feature/item|1.5.9|1.5.8|21251|This function gets visibility of corona reflections.}} | ||
==Syntax== | ==Syntax== | ||
Line 11: | Line 11: | ||
One of the following integers will be returned: | One of the following integers will be returned: | ||
* '''0''': corona reflections are disabled | * '''0''': corona reflections are disabled | ||
* '''1''': corona reflections are enabled | * '''1''': corona reflections are enabled (are visible during rain) | ||
* '''2''': corona reflections are force enabled | * '''2''': corona reflections are force enabled (are visible even if there is no rain) | ||
==See Also== | ==See Also== | ||
{{client world functions}} | {{client world functions}} |
Latest revision as of 21:55, 7 October 2022
This function gets visibility of corona reflections.
Syntax
int getCoronaReflectionsEnabled ( )
Returns
One of the following integers will be returned:
- 0: corona reflections are disabled
- 1: corona reflections are enabled (are visible during rain)
- 2: corona reflections are force enabled (are visible even if there is no rain)
See Also
- createSWATRope
- getBirdsEnabled
- getCoronaReflectionsEnabled
- getGarageBoundingBox
- getGaragePosition
- getGarageSize
- getGroundPosition
- getInteriorFurnitureEnabled
- getNearClipDistance
- getPedsLODDistance
- getRoofPosition
- getScreenFromWorldPosition
- getVehiclesLODDistance
- getWorldFromScreenPosition
- isAmbientSoundEnabled
- isLineOfSightClear
- isWorldSoundEnabled
- processLineOfSight
- resetAmbientSounds
- resetBlurLevel
- resetColorFilter
- resetCoronaReflectionsEnabled
- resetNearClipDistance
- resetPedsLODDistance
- resetVehiclesLODDistance
- resetWorldSounds
- setAmbientSoundEnabled
- setBirdsEnabled
- setColorFilter
- setCoronaReflectionsEnabled
- setInteriorFurnitureEnabled
- setInteriorSoundsEnabled
- setNearClipDistance
- setPedsLODDistance
- setVehiclesLODDistance
- setWorldSoundEnabled
- testLineAgainstWater
- 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