setObjectViewDistance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|eff= local | |eff= local | ||
|gr1= System | |gr1= System | ||
|gr2= Environment | |gr2= Environment | ||
| Sets the rendering distance of objects (and shadows). | | Sets the rendering distance of objects (and shadows). | ||
| '''setObjectViewDistance''' distance | | '''setObjectViewDistance''' distance | ||
|p1= distance: [[Number]] | |p1= distance: [[Number]] | ||
| [[Nothing]] | | [[Nothing]] | ||
| s2= '''setObjectViewDistance''' [objectDistance, shadowDistance] | | s2= '''setObjectViewDistance''' [objectDistance, shadowDistance] | ||
|p21= [objectDistance, shadowDistance]: [[Array]] |PARAMETER21= | |p21= [objectDistance, shadowDistance]: [[Array]] |PARAMETER21= | ||
Line 27: | Line 27: | ||
|p23= shadowDistance: [[Number]] |PARAMETER23= | |p23= shadowDistance: [[Number]] |PARAMETER23= | ||
| r2= [[Nothing]] | | r2= [[Nothing]] | ||
|x1= <code>[[setObjectViewDistance]] 2000;</code> | |x1= <code>[[setObjectViewDistance]] 2000;</code> | ||
|x2= <code>[[setObjectViewDistance]] [2000,800];</code> | |x2= <code>[[setObjectViewDistance]] [2000,800];</code> | ||
| [[getObjectViewDistance]], [[setViewDistance]], [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]] | | [[getObjectViewDistance]], [[setViewDistance]], [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:10, 18 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