setObjectViewDistance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|0.50 | |version1= 0.50 | ||
|eff= local | |eff= local | ||
Line 11: | Line 11: | ||
|gr2= Environment | |gr2= Environment | ||
| Sets the rendering distance of objects | |descr= Sets the rendering distance of objects and shadows. | ||
| '''setObjectViewDistance''' | |s1= '''setObjectViewDistance''' objectDistance | ||
|p1= | |p1= objectDistance: [[Number]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
| s2= '''setObjectViewDistance''' [objectDistance, shadowDistance] | |s2= '''setObjectViewDistance''' [objectDistance, shadowDistance] | ||
|p21= | |p21= objectDistance: [[Number]] | ||
|p22= | |p22= shadowDistance: [[Number]] | ||
|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> | ||
|seealso= [[getObjectViewDistance]], [[setViewDistance]], [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]] | |seealso= [[getObjectViewDistance]], [[setViewDistance]], [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]] | ||
}} | }} | ||
Revision as of 08:45, 6 April 2021
Description
- Description:
- Sets the rendering distance of objects and shadows.
- Groups:
- SystemEnvironment
Syntax
Alternative Syntax
- Syntax:
- setObjectViewDistance [objectDistance, shadowDistance]
- Parameters:
- 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