setObjectViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (removed <!-- DISCONTINUE Notes -->)
m (Text replacement - " {3,}\|" to " |")
Line 28: Line 28:


| 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 18:00, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the rendering distance of objects (and shadows).
Groups:
SystemEnvironment

Syntax

Syntax:
setObjectViewDistance distance
Parameters:
distance: Number
Return Value:
Nothing

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

See also:
getObjectViewDistancesetViewDistanceviewDistancesetDetailMapBlendParssetTerrainGrid

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