setObjectViewDistance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|gr2= Environment |GROUP2= | |gr2= Environment |GROUP2= | ||
| Sets the rendering distance of objects (and shadows). |DESCRIPTION= | | Sets the rendering distance of objects (and shadows). |DESCRIPTION= | ||
| '''setObjectViewDistance''' distance |SYNTAX= | | '''setObjectViewDistance''' distance |SYNTAX= | ||
Line 37: | Line 34: | ||
|x2= <code>[[setObjectViewDistance]] [2000,800];</code>|EXAMPLE2= | |x2= <code>[[setObjectViewDistance]] [2000,800];</code>|EXAMPLE2= | ||
| [[getObjectViewDistance]], [[setViewDistance]], [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]] |SEEALSO= | | [[getObjectViewDistance]], [[setViewDistance]], [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:30, 17 January 2021
Description
- Description:
- Sets the rendering distance of objects (and shadows).
- Groups:
- SystemEnvironment
Syntax
Alternative Syntax
- Syntax:
- setObjectViewDistance [objectDistance, shadowDistance]
- Parameters:
- [objectDistance, shadowDistance]: Array
- objectDistance: Number
- shadowDistance: Number
- Return Value:
- Nothing
Examples
- Example 1:
setObjectViewDistance 2000;
- Example 2:
setObjectViewDistance [2000,800];
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section