preloadCamera: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
Should be used before any abrupt camera change/cut. | Should be used before any abrupt camera change/cut. | ||
Returns true once all data is ready. |= | Returns true once all data is ready. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''preloadCamera''' position|= | | '''preloadCamera''' position|SYNTAX= | ||
|p1= position: [[Array]] - format [[Position]] |= | |p1= position: [[Array]] - format [[Position]] |PARAMETER1= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[waitUntil]] {[[preloadCamera]] [[markerPos]] "cam_location_2"};</code> |= | |x1= <code>[[waitUntil]] {[[preloadCamera]] [[markerPos]] "cam_location_2"};</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[camPreload]],[[camPreloaded]] |= | | [[camPreload]],[[camPreloaded]] |SEEALSO= | ||
}} | }} |
Revision as of 14:44, 7 April 2019
Description
- Description:
- Preload all textures and models around given Position to avoid visual artifacts after camera is moved. Should be used before any abrupt camera change/cut. Returns true once all data is ready.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
waitUntil {preloadCamera markerPos "cam_location_2"};
Additional Information
- See also:
- camPreloadcamPreloaded
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